merging with main

This commit is contained in:
2020-07-16 18:59:00 +02:00
parent 71a8a7aaed
commit 5d10eb17af
18 changed files with 14 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ public class Board extends JPanel implements ActionListener {
}
}
//check if computer needs to take a turn
if (game.isTurnTaken() && game.emptyTiles() != 0){
if (game.isTurnTaken()){
game.setTurnTaken(false);
game.computersTurn();
}