Initial commit of MPLABX version
This commit is contained in:
commit
d80b03bdf0
10 changed files with 251 additions and 0 deletions
15
Piece.cpp
Normal file
15
Piece.cpp
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* File: Piece.cpp
|
||||
* Author: amr
|
||||
*
|
||||
* Created on July 30, 2025, 9:21 PM
|
||||
*/
|
||||
|
||||
#include "Piece.hpp"
|
||||
|
||||
std::vector<std::pair<int, int>> King::getLegalMoves(int x, int y, const Board& board) const {
|
||||
std::vector<std::pair<int, int>> moveList;
|
||||
|
||||
// calculate legal moves somehow
|
||||
return moveList;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue