15 lines
315 B
C++
15 lines
315 B
C++
/*
|
|
* 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;
|
|
}
|