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/go.rs
Items
struct Go static STONES const HOW_TO_PLAY const LINEAGE static GO9 static GO13 static GO19 impl Go impl Rules for Go impl Go struct Playout impl Playout
Functions
By call-graph weight (PageRank; 1.0 is the average function). 33 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Go::areasrc/games/go.rs:118 | method | 34 | 11 | 3 | 3 | 2.2 | |
| Playout::next_stampsrc/games/go.rs:410 | method | 4 | 1 | 2 | 0 | 2 | |
| Playout::libertiessrc/games/go.rs:416 | method | 27 | 7 | 2 | 1 | 1.2 | |
| Go::countsrc/games/go.rs:368 | method | 9 | 4 | 2 | 1 | 1 | |
| Playout::newsrc/games/go.rs:392 | method | 17 | 4 | 2 | 2 | 0.8 | |
| Go::libertiessrc/games/go.rs:155 | method | 27 | 9 | 1 | 1 | 0.8 | |
| Playout::removesrc/games/go.rs:482 | method | 18 | 4 | 1 | 0 | 0.7 | |
| Go::groupsrc/games/go.rs:67 | method | 23 | 7 | 1 | 1 | 0.7 | |
| Go::resolvesrc/games/go.rs:94 | method | 22 | 7 | 2 | 3 | 0.7 | |
| Go::quick_legalsrc/games/go.rs:186 | method | 8 | 4 | 2 | 2 | 0.6 | |
| Playout::legalsrc/games/go.rs:449 | method | 14 | 7 | 1 | 1 | 0.6 | |
| Go::lone_with_one_libertysrc/games/go.rs:196 | method | 13 | 5 | 1 | 1 | 0.6 | |
| Go::own_eyesrc/games/go.rs:211 | method | 4 | 1 | 1 | 2 | 0.6 | |
| gosrc/games/go.rs:40 | fn | 20 | 1 | 0 | 1 | 0.5 | |
| Go::infosrc/games/go.rs:218 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| Go::initialsrc/games/go.rs:222 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| Go::movessrc/games/go.rs:226 | trait impl | 17 | 2 | 0 | 6 | 0.5 | |
| Go::playsrc/games/go.rs:244 | trait impl | 24 | 5 | 0 | 4 | 0.5 | |
| Go::no_movessrc/games/go.rs:269 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| Go::tree_movessrc/games/go.rs:275 | trait impl | 16 | 3 | 0 | 5 | 0.5 | |
| Go::quick_movesrc/games/go.rs:292 | trait impl | 16 | 6 | 0 | 6 | 0.5 | |
| Go::fast_rolloutsrc/games/go.rs:315 | trait impl | 39 | 12 | 0 | 3 | 0.5 | |
| Go::evaluatesrc/games/go.rs:355 | trait impl | 5 | 2 | 0 | 1 | 0.5 | |
| Go::scoresrc/games/go.rs:361 | trait impl | 4 | 1 | 0 | 1 | 0.5 | |
| Playout::own_eyesrc/games/go.rs:444 | method | 4 | 1 | 0 | 0 | 0.5 | |
| Playout::playsrc/games/go.rs:466 | method | 15 | 8 | 0 | 2 | 0.5 | |
| Playout::areasrc/games/go.rs:502 | method | 39 | 13 | 0 | 1 | 0.5 | |
| a_surrounded_stone_is_takensrc/games/go.rs:549 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| suicide_is_illegal_but_a_capturing_stone_is_notsrc/games/go.rs:557 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| ko_cannot_be_retaken_at_oncesrc/games/go.rs:567 | fn | 13 | 1 | 0 | 2 | 0.5 | |
| two_passes_count_area_with_komisrc/games/go.rs:582 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| the_playout_board_counts_area_like_the_rulessrc/games/go.rs:591 | fn | 10 | 2 | 0 | 2 | 0.5 | |
| random_playouts_end_on_the_countsrc/games/go.rs:603 | fn | 18 | 4 | 0 | 3 | 0.5 |
Source not readable from this process.