fix typo
This commit is contained in:
parent
17b9bb7486
commit
74045a7615
@ -55,8 +55,8 @@ class TicTacToeEnv(gym.Env):
|
|||||||
def move_generator(self):
|
def move_generator(self):
|
||||||
moves = []
|
moves = []
|
||||||
for i in range (9):
|
for i in range (9):
|
||||||
if (self.state.state['board'][i]== 0):
|
if (self.state['board'][i]== 0):
|
||||||
p = self.state.on_move
|
p = self.state['on_move']
|
||||||
m = [p, i]
|
m = [p, i]
|
||||||
moves.append(m)
|
moves.append(m)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user