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

find_legal_move

cre8_app_chess::rules::find_legal_move

fn · cre8-app-chess · crates/cre8-app-chess/src/rules.rs:200 pub documented

10lines
5cyclomatic
1max nesting
4statements
0? exits
4params
14callers
2callees
3.2 (p98)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (14 direct callers, 2 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

name · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitepath · 1 sitename · 3 sitesname · 1 sitename · 2 sitesname · 1 sitename · 1 sitename · 1 sitepath · 1 sitename · 2 sitesname · 1 sitename · 1 sitepath · 1 sitename · 1 sitename · 1 siteref · 1 sitename · 1 sitechoose_move_atapp-chess · cc 4cre8_app_chess::solver::choose_move_atload_matchapp-chess · cc 1cre8_app_chess::view::model::load_matchprepare_move_submissionapp-chess · cc 11cre8_app_chess::connection::moves::prepare_move_submissiongame_lineapp-chess · cc 1cre8_app_chess::connection::moves::game_lineline_outcome_afterapp-chess · cc 3cre8_app_chess::connection::moves::line_outcome_aftersan_disambiguates_marks_che…app-chess · cc 2cre8_app_chess::rules::tests::san_disambiguates_marks_check_and_matemate_in_one_is_found_at_eve…app-chess · cc 4cre8_app_chess::solver_tests::mate_in_one_is_found_at_every_levelthe_solver_does_not_leave_i…app-chess · cc 4cre8_app_chess::solver_tests::the_solver_does_not_leave_its_queen_en_prisestalemate_is_avoided_when_w…app-chess · cc 3cre8_app_chess::solver_tests::stalemate_is_avoided_when_winningking_of_the_hill_walks_onto…app-chess · cc 2cre8_app_chess::solver_tests::king_of_the_hill_walks_onto_the_hill_to_winreplay_historyapp-chess · cc 2cre8_app_chess::view::model::replay_historyafterapp-chess · cc 1cre8_app_chess::solver_tests::afterreplay_lineapp-chess · cc 5cre8_app_chess::solver::replay_linedescribe_choiceapp-chess · cc 8cre8_app_chess::solver::describe_choicelineapp-chess · cc 2cre8_app_chess::rules::tests::linevalidate_ruleset_moveapp-chess · cc 2cre8_app_chess::connection::moves::validate_ruleset_movecastling_speaks_the_standar…app-chess · cc 1cre8_app_chess::rules::tests::castling_speaks_the_standard_dialect_and_moves_the_rooken_passant_names_the_pawn_i…app-chess · cc 1cre8_app_chess::rules::tests::en_passant_names_the_pawn_it_removespromotion_defaults_to_a_que…app-chess · cc 1cre8_app_chess::rules::tests::promotion_defaults_to_a_queen_and_honours_an_underpromotionthe_third_time_a_position_s…app-chess · cc 2cre8_app_chess::rules::tests::the_third_time_a_position_stands_is_a_drawthe_hundredth_quiet_ply_is_…app-chess · cc 1cre8_app_chess::rules::tests::the_hundredth_quiet_ply_is_a_fifty_move_drawthe_third_check_wins_three_…app-chess · cc 2cre8_app_chess::rules::tests::the_third_check_wins_three_checkthree_check_reads_checks_al…app-chess · cc 3cre8_app_chess::solver_tests::three_check_reads_checks_already_given_from_the_historylevel_one_and_level_five_bo…app-chess · cc 2cre8_app_chess::solver_tests::level_one_and_level_five_both_play_from_the_startfind_legal_moveapp-chess · cc 5cre8_app_chess::rules::find_legal_movelegal_movesapp-chess · cc 1cre8_app_chess::rules::legal_movespromotion_roleapp-chess · cc 5cre8_app_chess::rules::promotion_roledescribeapp-chess · cc 4cre8_app_chess::rules::describe

Control flow

Source not readable from this process.

Callees 2

Source not readable from this process.