This came out of discussions between Kevin Buzzard and Kendall Frey on the Xena Discord.
You're in a maze of twisty passages, all alike! You can go North, South, East or West. Look for the exit!
Brought to you by the Xena Project.
To install locally, you need to make you have the leanprover community mathlib tools installed. See here for instructions for how to install on your OS.
Then do
leanproject get kbuzzard/maze-game
and open the project with the "open folder" functionality of VS Code, or by using
cd maze-game
code .
on the command line.
Great question! Here's hoping.
You need to open the file level.lean
in src/example_maze
, in a Lean editor like VS Code.
The map of example maze is defined to be:
01
23
4
The start is defined to be 0, and the end is defined to be 4.
Can people write python code which designs levels?
Can people write Lean code which solves levels?
How far can each system go?