diff --git a/app.py b/app.py index c774cb7..cad6ed9 100644 --- a/app.py +++ b/app.py @@ -32,14 +32,15 @@ def calc_move_sets(from_board, roll, player): # print("Value of r:", r) sets.append([Board.calculate_legal_states(board, player, [r, 0]), r]) total += r - sets.append([Board.calculate_legal_states(board, player, [total, 0]), total]) - # print(sets) + sets.append([Board.calculate_legal_states(board, player, roll), total]) return sets def tmp_name(from_board, to_board, roll, player, total_moves, is_quad=False): sets = calc_move_sets(from_board, roll, player) return_board = from_board + print("To board:\n",to_board) + print("All sets:\n",sets) for idx, board_set in enumerate(sets): board_set[0] = list(board_set[0]) # print(to_board)