
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
github.phpd.cn/necrophonic/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?:
Open your terminal of choice and run:
go run cmd/maze/main.go
There are a few environment vars supported for changing behaviours:
Env var | Default | Description |
---|---|---|
DEBUG | false | Switches on developer debugging. This will stop the screen auto-refreshing and move to slide mode. |
To move around, use W
,S
,A
& D
(case insensitve) keys. Quit using q
and display help with h
Key | Action |
---|---|
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>
!
Note, the win conditions aren't actually implemented yet!
Either type q
as a command, or use ctrl-c
Any pull requests raised must:
go fmt
Any spam will be deleted
Copyright © 2020 J Gregory
Released under MIT license, see LICENSE for details.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.