Add first working version.
This commit is contained in:
4
bot.py
4
bot.py
@@ -90,9 +90,9 @@ def get_sudoku_moves():
|
||||
new_field = list(field)
|
||||
new_field[move] = PLAYER_2
|
||||
new_field = tuple(new_field)
|
||||
equity = get_equity(new_field, PLAYER_2)
|
||||
equity = get_equity(new_field, PLAYER_1)
|
||||
equities.append((equity, move))
|
||||
move = max(equities)[1]
|
||||
move = min(equities)[1]
|
||||
new_field = list(field)
|
||||
new_field[move] = PLAYER_2
|
||||
new_field = tuple(new_field)
|
||||
|
||||
8173
tictactoe.css
8173
tictactoe.css
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user