fixed Bug related to Minimax

This commit is contained in:
Falko Victor Habel 2024-05-18 23:50:42 +02:00
parent f0f068af76
commit 34f35882c1
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ func Minimax(board [3][3]string, depth int, isMaximizingPlayer bool, player stri
return bestMove
} else {
// set min score
bestScore := +10000
bestScore := 10000
var bestMove NextMove
// iterate through all fields
for i := 0; i < 3; i++ {