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/hex.rs

cre8-util-grid-games · module games::hex · src · 202 lines (172 code, 13 comment) · sha 499708fc6943f9e0

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
Hex::joinedsrc/games/hex.rs:42method2610340.8
Hex::movessrc/games/hex.rs:79trait impl83140.6
Hex::infosrc/games/hex.rs:71trait impl31000.5
Hex::initialsrc/games/hex.rs:75trait impl31010.5
Hex::playsrc/games/hex.rs:88trait impl225070.5
Hex::search_movessrc/games/hex.rs:116trait impl82050.5
Hex::quick_movesrc/games/hex.rs:125trait impl42040.5
Hex::fast_rolloutsrc/games/hex.rs:132trait impl133050.5
the_first_move_may_be_anywhere_and_the_second_may_swapsrc/games/hex.rs:153fn131020.5
a_column_of_red_joins_bottom_and_topsrc/games/hex.rs:168fn113010.5
hex_neighbours_include_one_diagonal_and_not_the_othersrc/games/hex.rs:181fn214030.5

Source not readable from this process.