A maze game in the Julia REPL.
Mazes are randomly generated using a depth-first search (DFS).
Press p
to turn on partial observability (i.e., can only see through a 5x5 window).
-
to decrease the partially observable window=
to increase the partially observable windowo
to reset the partially observable window
] add https://github.com/mossr/REPLMaze.jl
using REPLMaze
The game will start automatically.
- Hit
backtick
to pause the game. - Resume with
play()
a
andd
to apply left and right velocitys
to apply down velocityw
to apply up velocitybacktick
to pause, thenplay()
to resumer
for a new mapp
to turn on partial observablility (window)-
to decrease the partially observable window=
to increase the partially observable windowo
to reset the partially observable window
play(w=25, h=25)
: Change the width and height of the generated maze.play(po=true)
: Start the game in partially observable mode.play(agent="🐭", flag="🧀")
: Set theagent
andflag
icons (e.g., use\:mouse:<TAB>
in the REPL).