Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

crates/cre8-util-grid-games/src/games/othello.rs

cre8-util-grid-games · module games::othello · src · 184 lines (160 code, 5 comment) · sha 5ed63a65afea3f4b

Items

struct Othello static DISCS static OTHELLO const WEIGHTS impl Othello impl Rules for Othello

Functions

By call-graph weight (PageRank; 1.0 is the average function). 13 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
Othello::placementssrc/games/othello.rs:74method31231.1
Othello::flipssrc/games/othello.rs:50method237210.9
Othello::infosrc/games/othello.rs:80trait impl31000.5
Othello::initialsrc/games/othello.rs:84trait impl103020.5
Othello::movessrc/games/othello.rs:95trait impl73020.5
Othello::playsrc/games/othello.rs:103trait impl123030.5
Othello::no_movessrc/games/othello.rs:116trait impl83000.5
Othello::evaluatesrc/games/othello.rs:125trait impl114010.5
Othello::scoresrc/games/othello.rs:137trait impl31000.5
perft_matches_the_published_countssrc/games/othello.rs:148fn51010.5
the_four_openings_are_the_textbook_onessrc/games/othello.rs:155fn71010.5
a_placement_turns_the_flanked_discsrc/games/othello.rs:164fn41010.5
a_side_that_cannot_place_passes_and_a_dead_board_counts_discssrc/games/othello.rs:170fn141010.5

Source not readable from this process.