forked from AlexEne/CCrush-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug_utils.py
More file actions
12 lines (10 loc) · 763 Bytes
/
debug_utils.py
File metadata and controls
12 lines (10 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
board_dict = {0: 'blue ', 1: 's_h_blue ', 2: 'green ', 3: 's_h_green ', 4: 'orange ', 5: 's_h_orange ',
6: 'purple ', 7: 's_h_purple ', 8: 'red ', 9: 's_h_red ', 10: 'yellow ', 11: 's_h_yellow ',
12: 'chocolate ', 13: 's_v_blue ', 14: 's_v_green ', 15: 's_v_orange ', 16: 's_v_red ',
17: 's_v_yellow ', 18: 's_v_purple ', 19: 'blue_wrapped ', 20: 'green_wrapped ', 21: 'orange_wrapped',
22: 'purple_wrapped', 23: 'red_wrapped ', 24: 'yellow_wrapped', -1: 'empty '}
def print_board(board):
for line in board:
for elem in line:
print board_dict[elem] + ' ',
print