now generating basic king moves + fixed UB with move objects
This commit is contained in:
1 parent
b388adf692
commit
3fe2b9c20c
3 files changed
+40
-13
No files matched your search
+3
-1
@@ -243,7 +243,9 @@ void Board::ResetMoves() {
|
||||
void Board::ListMoves() {
|
||||
int count = 1;
|
||||
for (Move move : moveList) {
|
||||
|
||||
std::cout << count << ". ";
|
||||
move.PrintMove();
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user