Formatting

This commit is contained in:
lieght
2025-09-21 17:43:29 +02:00
parent 2238c6e6c9
commit 6ef4b44574
2 changed files with 3 additions and 4 deletions

View File

@@ -104,7 +104,7 @@ public class MinMaxTicTacToe {
}
}
int bestVal;// set the value to the highest possible
int bestVal; // set the value to the highest possible
if (maximizing) { // it's the maximizing players turn, the AI
bestVal = -100;
for (int i = 0; i < game.grid.length; i++) { // loop through the grid