3D Gopher Maze

Find the gopher, escape the maze!
Inspired by 80s games like 3d monster maze and phantom slayer, this is a little
maze crawler game using just the terminal for rendering.
You're placed randomly in a maze and you need to find the gopher and escape by
finding the exit.
ββββββββββββββββββββββββββ
β ββ ββ β
β ββββ ββββ β
β ββββββ ββββ β
β ββββββββ ββββββββ β
β ββββββββββ ββββββββββ β
β ββββββββ ββββββββ β
β ββββββ ββββ β
β ββββ ββββ β
β ββ ββ β
ββββββββββββββββββββββββββ
Facing: N
Which way?:
Playing
Launching
Open your terminal of choice and run:
go run cmd/maze/main.go
There are a few environment vars supported for changing behaviours:
DEBUG | false | Switches on developer debugging. This will stop the screen auto-refreshing and move to slide mode. |
Controls
To move around, use W
,S
,A
& D
(case insensitve) keys. Quit using q
and display help with h
w | Move forward one space |
s | Move backwards one space |
a | Rotate 90Β° left |
d | Rotate 90Β° right |
q | Quit game |
h | Display help |
Currently the game doesn't support just press-move; you need to type the
letter of the command and hit <return>
!
How to win
Note, the win conditions aren't actually implemented yet!
- Find the gopher hidden somewhere in the maze
- Then find the way out! (not implemented yet!)
Exiting the game
Either type q
as a command, or use ctrl-c
Contributing
License
Copyright Β© 2020 J Gregory
Released under MIT license, see LICENSE for details.