first commit
This commit is contained in:
22
packages/draughts/core/index.js
Normal file
22
packages/draughts/core/index.js
Normal 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';
|
||||
Reference in New Issue
Block a user