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
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.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Othello::placementssrc/games/othello.rs:74 | method | 3 | 1 | 2 | 3 | 1.1 | |
| Othello::flipssrc/games/othello.rs:50 | method | 23 | 7 | 2 | 1 | 0.9 | |
| Othello::infosrc/games/othello.rs:80 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| Othello::initialsrc/games/othello.rs:84 | trait impl | 10 | 3 | 0 | 2 | 0.5 | |
| Othello::movessrc/games/othello.rs:95 | trait impl | 7 | 3 | 0 | 2 | 0.5 | |
| Othello::playsrc/games/othello.rs:103 | trait impl | 12 | 3 | 0 | 3 | 0.5 | |
| Othello::no_movessrc/games/othello.rs:116 | trait impl | 8 | 3 | 0 | 0 | 0.5 | |
| Othello::evaluatesrc/games/othello.rs:125 | trait impl | 11 | 4 | 0 | 1 | 0.5 | |
| Othello::scoresrc/games/othello.rs:137 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| perft_matches_the_published_countssrc/games/othello.rs:148 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| the_four_openings_are_the_textbook_onessrc/games/othello.rs:155 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| a_placement_turns_the_flanked_discsrc/games/othello.rs:164 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| a_side_that_cannot_place_passes_and_a_dead_board_counts_discssrc/games/othello.rs:170 | fn | 14 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.