Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-app-chess/src/solver.rs

cre8-app-chess · module solver · src · 254 lines (214 code, 22 comment) · sha 8c0b522692de51fe

Items

struct ChessSolvedMove impl ChessSolvedMove

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
choose_move_insrc/solver.rs:38fn59102121.6
center_bonussrc/solver.rs:132fn73201
seed_tiebreaksrc/solver.rs:140fn72201
hill_distancesrc/solver.rs:115fn63101
choose_movesrc/solver.rs:31fn31110.7
variant_bonussrc/solver.rs:99fn146110.6
role_valuesrc/solver.rs:122fn95100.6
ChessSolvedMove::to_jsonsrc/solver.rs:23method31000.5
square_coords_accepts_valid_squares_and_rejects_garbagesrc/solver.rs:155fn131010.5
piece_char_maps_six_roles_and_rejects_unknownsrc/solver.rs:170fn91010.5
center_bonus_rewards_central_squares_onlysrc/solver.rs:181fn101010.5
seed_tiebreak_is_deterministic_and_boundedsrc/solver.rs:193fn112010.5
fen_from_initial_projection_matches_standard_openingsrc/solver.rs:206fn161020.5
choose_move_returns_a_legal_white_move_from_initial_positionsrc/solver.rs:224fn111020.5
solved_move_serde_round_tripsrc/solver.rs:237fn171000.5

Source not readable from this process.