class Chess::Board
- Chess::Board
- Reference
- Object
Defined in:
board.crConstructors
Instance Method Summary
- #cells : StaticArray(StaticArray(Piece | Nil, 8), 8)
- #empty?(position : Position) : Bool
- #get(position : Position) : Piece | Nil
- #in_bounds?(position : Position) : Bool
- #move(piece : Piece, position : Position)
- #reset : Nil
- #setup_new_game
- #valid_move?(piece : Piece, position : Position) : Bool