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

cre8-app-grid grid cargo crate

GridApp — two-player grid games (shatranj, makruk, xiangqi, small chesses, checkers, tafl, Go, Othello, Hex and more) as runtime games: seats, clocks, a Game-backed record that replays, Game's rated pools, a deterministic solver, and server-rendered catalog, lobby and match pages.

crates/cre8-app-grid · level 18 · 3,852 lines (3,353 code) · 15 files · 202 fns (32 tests) · cyclomatic Σ 604

11workspace deps
1direct dependents
8transitive dependents
123calls out
0calls in
165call-graph weight
0.0%exact crystals

Neighbourhood

Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.

normal dep · 17 calls · source referencenormal dep · 10 calls · source referencenormal dep · 36 calls · source referencenormal dep · 3 calls · source referencenormal dep · 4 calls · source referencenormal dep · 7 calls · source referencenormal dep · 0 calls · source referencenormal dep · 2 calls · source referencenormal dep · 1 calls · source referencenormal dep · 41 calls · source referencenormal dep · 2 calls · source referencedev dep · 0 calls · incomplete scannormal dep · 0 calls · source referenceapp-gridL18 · 3,353 linescre8-app-gridapp-gameL17 · 7,266 linescre8-app-gameapp-truthL7 · 20,485 linescre8-app-truthapp-view-libL8 · 89,193 linescre8-app-view-libplatform-entropyL3 · 59 linescre8-platform-entropyplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreutil-cryptoL3 · 749 linescre8-util-cryptoutil-grid-gamesL0 · 3,782 linescre8-util-grid-gamesutil-view-htmlL0 · 1,660 linescre8-util-view-htmlruntime-dispatch-apiL7 · 496 linescre8-runtime-dispatch-apiruntime-app-catalogL28 · 681 linescre8-runtime-app-catalog

Files

lowhigh

File call graph

Resolved calls between this crate's files, callers left of callees.

Heaviest functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
connectsrc/connection.rs:89fn17122143.7
BoardView::hexessrc/view/board.rs:42method31603.3
callsrc/flow_tests.rs:30fn311113.2
guestActorsrc/view/grid_play.js:22fn72202.4
GridMatch::is_completesrc/model.rs:142method311502.1
textsrc/connection.rs:57fn31702.1
board_svgsrc/view/board.rs:82fn52117122
memory_contextsrc/flow_tests.rs:15fn311211.9
BoardView::centresrc/view/board.rs:62method133511.8
paintNotesrc/view/grid_play.js:73fn124201.8
actorsrc/view/grid_play.js:40fn13311.6
activesrc/view/grid_play.js:48fn11501.5
sessionsrc/flow_tests.rs:26fn311211.5
holdssrc/view/grid_play.js:47fn12621.5
seatsrc/view/grid_play.js:46fn13401.5
refusedsrc/connection.rs:61fn311001.4
recentsrc/store.rs:93fn404441.4
Seat::is_opensrc/model.rs:42method31601.4
game_pathsrc/view/mod.rs:73fn31501.3
createsrc/flow_tests.rs:34fn61911.3
ensure_tablessrc/store.rs:35fn31311.3
side_namesrc/view/play.rs:163fn31301.3
messagesrc/view/grid_play.js:85fn42411.3
startsrc/view/grid_lobby.js:51fn2619131.3
Clock::newsrc/model.rs:69method91401.3
isMesrc/view/grid_play.js:42fn43221.2
arena_htmlsrc/view/play.rs:247fn87115101.2
Seat::is_solversrc/model.rs:46method31701.2
postsrc/view/grid_play.js:175fn196341.2
Seat::is_personsrc/model.rs:50method31401.2
canonicalsrc/connection.rs:85fn31201.2
samplesrc/view/play.rs:398fn151451.2
GridMatch::rulessrc/model.rs:138method31611.1
getsrc/store.rs:69fn221641.1
heldsrc/session_lock.rs:14fn41201.1
Seat::personsrc/model.rs:30method31601.1
decoratesrc/view/grid_play.js:94fn2818481.1
sendsrc/view/grid_play.js:195fn55331.1
view_patchsrc/view/play.rs:337fn356181.1
registersrc/matchmaking.rs:84fn82431.1

Outside the workspace

anyhow serde serde_json