%========================================== %Do not remove this section. This will be used to load in different configurations of the maze. %You can change the numbers in these functions to test with different maze configurations. declare fun {Wall} choice 0#4 [] 1#1 [] 1#4 [] 2#1 [] 2#3 [] 2#4 [] 3#1 [] 4#3 [] 4#4 end end declare fun {Info} 5#5#c end declare fun {Button} choice 0#0#2 [] 0#3#1 end end declare fun {NumButtons} 2 end declare fun {Start} 3#4 end declare fun{Goal} 1#0 end %========================================== declare fun {ValidMoves X} %Your code starts here X end %Here is an example of how you will take in the sentences for parsing local Input in Input = [[the rat ran 2 squares up] [it moved 3 squares left] [einstein moved 1 cell down] [the rat pushed the button] [a rodent scurried 3 squares up] [down einstein scurried squares 3] [he moved 1 cell left]] {Browse {ValidMoves Input}} end