first commit

This commit is contained in:
unknown
2023-01-27 20:50:01 +08:00
commit a5e17d8c5d
69 changed files with 12547 additions and 0 deletions

View File

@ -0,0 +1,22 @@
export {
Players,
GameStates,
Pieces,
INITIAL_POSITION,
BOARD_SIZE,
} from './constants';
export { Board } from './board';
export {
cellIsEmpty,
queenPiece,
eachCell,
compareCells,
pieceIsPlayer,
pieceIsQueen,
shouldQueen,
clonePosition,
filterToLongestCaptures,
cellWithinBounds,
} from './utilities';