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/hex.rs
Items
struct Hex static STONES static HEX impl Hex impl Rules for Hex
Functions
By call-graph weight (PageRank; 1.0 is the average function). 11 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Hex::joinedsrc/games/hex.rs:42 | method | 26 | 10 | 3 | 4 | 0.8 | |
| Hex::movessrc/games/hex.rs:79 | trait impl | 8 | 3 | 1 | 4 | 0.6 | |
| Hex::infosrc/games/hex.rs:71 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| Hex::initialsrc/games/hex.rs:75 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| Hex::playsrc/games/hex.rs:88 | trait impl | 22 | 5 | 0 | 7 | 0.5 | |
| Hex::search_movessrc/games/hex.rs:116 | trait impl | 8 | 2 | 0 | 5 | 0.5 | |
| Hex::quick_movesrc/games/hex.rs:125 | trait impl | 4 | 2 | 0 | 4 | 0.5 | |
| Hex::fast_rolloutsrc/games/hex.rs:132 | trait impl | 13 | 3 | 0 | 5 | 0.5 | |
| the_first_move_may_be_anywhere_and_the_second_may_swapsrc/games/hex.rs:153 | fn | 13 | 1 | 0 | 2 | 0.5 | |
| a_column_of_red_joins_bottom_and_topsrc/games/hex.rs:168 | fn | 11 | 3 | 0 | 1 | 0.5 | |
| hex_neighbours_include_one_diagonal_and_not_the_othersrc/games/hex.rs:181 | fn | 21 | 4 | 0 | 3 | 0.5 |
Source not readable from this process.