Skip to content

cassieopea/CommandLineMaze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command-line 3D Maze

Moon over the maze

A naïve and, with one major exception, faithful port of JavidX9's OneLoneCoder/CommandLineFPS from C++ to Go.

Naïve because I made no attempt to rewrite this version as you would a Go program from scratch with behavioral interfaces and whatnot (this is my first real Go program, so I probably won't do it justice—but I will try it next!); rather, I wanted to keep the code as 1-1 with JavidX9's version as possible to highlight the purely language-level differences. Aside from adding the moon and starry skybox (fixed with respect to player rotation!) in a couple of places I've changed a type prefix on a variable name to match the corresponding Go type (e.g., rShade instead of nShade, since Go prefers dealing in unicode runes rather than bytes for characters)

Releases

No releases published

Packages

 
 
 

Contributors

Languages