Modules§
- According to https://github.com/cetkaik/cetkaik_yhuap_move_candidates/pull/7, this function was a bottleneck that accounted for roughly fifty percent of all the runtime in an attempt to implement an AI for this game. Hence, this module contains multiple implementations of this functions and test that they are equal.
Structs§
Enums§
- Denotes the color of a piece/駒の色を表す。
- Denotes the profession of a piece/駒の職業を表す。
Functions§
- Returns the list of all possible locations that a piece can move to / step on. Supports both
cetkaik_naive_representation
andcetkaik_compact_representation
. - Example
- Note that 皇再来 (tam2 ty sak2) is explicitly allowed, since its filtering / handling is the job of
cetkaik_full_state_transition
.