now generating basic king moves + fixed UB with move objects

This commit is contained in:
rektdie committed 2024-04-05 21:27:15 +02:00
1 parent b388adf692
commit 3fe2b9c20c
3 files changed
+40 -13

No files matched your search

+3 -1
View File
@@ -243,7 +243,9 @@ void Board::ResetMoves() {
void Board::ListMoves() {
int count = 1;
for (Move move : moveList) {
std::cout << count << ". ";
move.PrintMove();
count++;
}
}