mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 19:04:49 +00:00
Formatting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user