diff --git a/board.py b/board.py index 1af1811..b3bd628 100644 --- a/board.py +++ b/board.py @@ -284,7 +284,7 @@ class Board: legal_moves = set() if not Board.any_move_valid(board, player, roll): - return [ board ] + return { board } dice_permutations = list(itertools.permutations(roll)) if roll[0] != roll[1] else [[roll[0]]*4] # print("Dice permuts:",dice_permutations) for roll in dice_permutations: