Display a row of letter labels, based on the BOARD_WIDTH.
()
| 85 | |
| 86 | |
| 87 | def displayLetterLabels(): |
| 88 | """Display a row of letter labels, based on the BOARD_WIDTH.""" |
| 89 | print(' ', end='') # Print the indentation. |
| 90 | for x in range(BOARD_WIDTH): |
| 91 | print(chr(65 + x) + ' ', end='') # Print the letter. |
| 92 | print() # Print a newline. |
| 93 | |
| 94 | |
| 95 | def askForPlayerMove(player, board): |