created a no-op gui (to run the games without

showing them, can be useful)
This commit is contained in:
Karma Riuk
2025-02-06 19:48:53 +01:00
parent 96f0ec5399
commit 10257351cb
3 changed files with 14 additions and 2 deletions

View File

@ -14,7 +14,6 @@ void ManualController::on_tile_selected(int x, int y) {
Coords c{x, y};
Piece piece = board.piece_at(c);
std::cout << "Clicked on " << c << std::endl;
if (selected_index == -1
|| (piece != Piece::None && piece != selected_piece
&& (piece & 0b11000) != (selected_piece & 0b11000))) {