From 23eda7a355a1c5130578f300fe926a29454956f2 Mon Sep 17 00:00:00 2001 From: Zachary Wahrman Date: Mon, 9 Dec 2019 17:47:18 -0500 Subject: [PATCH] Update randommoveai.py --- randommoveai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] )