CS470-Projects/Boggle/02_test.txt

13 lines
305 B
Text

>>> myBoard = loadBoard('board.txt') # loads the specified file into a myBoard variable
>>> printBoard(myBoard)
X G T S
A M Z J
E O C M
U F E V
>>> possibleMoves((0,0), myBoard)
{(0, 1), (1, 0), (1, 1)}
>>> possibleMoves((2,2), myBoard)
{(1, 2), (3, 2), (1, 3), (3, 3), (3, 1), (2, 1), (2, 3), (1, 1)}