Add the Boggle part 0 assignment.

This commit is contained in:
Charles Descamps 2025-01-17 19:06:25 -07:00
parent a6873e3903
commit 7ff3958cda
4 changed files with 178748 additions and 0 deletions

13
Boggle/02_test.txt Normal file
View file

@ -0,0 +1,13 @@
>>> 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)}