diff --git a/randommoveai.py b/randommoveai.py index d1171a7..de05e74 100644 --- a/randommoveai.py +++ b/randommoveai.py @@ -5,5 +5,5 @@ def __init__(self, color): 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] )