Skip to content
Snippets Groups Projects
Commit fa20be28 authored by Scott Wong's avatar Scott Wong
Browse files

removing debug code

parent 374a1443
Branches
No related tags found
No related merge requests found
{
"upper": [
[
"r",
2,
-4
],
[
"p",
2,
-3
],
[
"p",
3,
-4
]
],
"lower": [
[
"s",
4,
0
]
],
"block": []
}
\ No newline at end of file
No preview for this file type
No preview for this file type
......@@ -26,8 +26,6 @@ def main():
for piece in upperPiecesDict:
find_target(piece)
# keep moving until all the piece met its target
make_board()
print_board(board)
while targetsDict:
take_turn()
file.close()
......
......@@ -328,9 +328,6 @@ def perform_optimal_combination(move_list: dict):
continue
# Found a move that does not cause collision
# This is print section
print(upperPiecesDict[piece], " to ", move_list[piece][index])
print_move(upperPiecesDict[piece], move_list[piece][index])
if upperPiecesDict[piece] in board.keys():
......@@ -355,8 +352,6 @@ def take_turn():
global turn
turn += 1
perform_optimal_combination(possible_actions)
make_board()
print_board(board)
update_target_dictionary()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment