Refactor computePossibleMoves
Use references instead of return values for possible moves Add getPossibleMoves() to Board Add hashing function to Coordinate Highlight possible moves on Board (ugly for now)
Showing
- Bishop.cpp 5 additions, 13 deletionsBishop.cpp
- Bishop.hpp 1 addition, 1 deletionBishop.hpp
- Board.cpp 8 additions, 0 deletionsBoard.cpp
- Board.hpp 2 additions, 0 deletionsBoard.hpp
- Coordinate.hpp 10 additions, 0 deletionsCoordinate.hpp
- King.cpp 4 additions, 8 deletionsKing.cpp
- King.hpp 1 addition, 1 deletionKing.hpp
- Knight.cpp 4 additions, 8 deletionsKnight.cpp
- Knight.hpp 1 addition, 1 deletionKnight.hpp
- Pawn.cpp 9 additions, 17 deletionsPawn.cpp
- Pawn.hpp 2 additions, 2 deletionsPawn.hpp
- Piece.cpp 5 additions, 8 deletionsPiece.cpp
- Piece.hpp 2 additions, 2 deletionsPiece.hpp
- Queen.cpp 3 additions, 10 deletionsQueen.cpp
- Queen.hpp 1 addition, 1 deletionQueen.hpp
- Rook.cpp 5 additions, 13 deletionsRook.cpp
- Rook.hpp 1 addition, 1 deletionRook.hpp
- Tile.cpp 5 additions, 0 deletionsTile.cpp
- Tile.hpp 1 addition, 0 deletionsTile.hpp
- Window.cpp 30 additions, 0 deletionsWindow.cpp
Loading
Please register or sign in to comment