Returns True if (x, y) is on the board, otherwise False.
(x, y)
| 71 | return chests |
| 72 | |
| 73 | def isOnBoard(x, y): |
| 74 | """Returns True if (x, y) is on the board, otherwise False.""" |
| 75 | return x >= 0 and x <= 59 and y >= 0 and y <= 14 |
| 76 | |
| 77 | def makeMove(board, chests, x, y): |
| 78 | """Change the board data structure with a sonar device character. |