diff --git a/state.py b/state.py index 5b3b859..3169c83 100644 --- a/state.py +++ b/state.py @@ -211,7 +211,7 @@ def generate_moves(self, board, color): #Is there a blank space where we need to jump, and is there an opponent's piece to jump over? if (board[jump_to[0]][jump_to[1]] == ' ' and board[jump_to[0]][jump_to[1]-1] != ' '): #Append move if possible - possible_moves.append(((row, col,) (jump_to[0], jump_to[1]))) + possible_moves.append(((row, col), (jump_to[0], jump_to[1]))) #Update how far you'll jump next time (for multiple jumps) curr_pos = jump_to else: