Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update randommoveai.py
  • Loading branch information
zew15101 committed Dec 9, 2019
1 parent 9f3f268 commit 23eda7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion randommoveai.py
Expand Up @@ -5,5 +5,5 @@ class randomMoveAI:
self.color = color

def move(self, state):
chosenmove = random.choice(state.generate_moves(state.board, self.color)
chosenmove = random.choice(state.generate_moves(state.board, self.color))
state.movePiece( chosenmove[0], chosenmove[1] )

0 comments on commit 23eda7a

Please sign in to comment.