Perspective Documentation
Concepts;
- Sphere - this is you, how did you get stuck in this maze?
- Goal - the way out, but how do you get there?
- Block - looks solid, could it break your fall?
- Portal - in one, and out the other?
Controls;
- Tap - Activate Gravity
- Swipe - Rotate Maze
Editor;
- Commands;
- create-world - creates a new world with the given name, size and colour scheme
- show-world - shows the given world
- add-shader - adds a shader with the given name to the world
- add-puzzle - adds a puzzle to the world
- generate-puzzle - generates a new puzzle with the given attributes
- score-puzzle - scores the puzzle under the given path
- Code Structure;
- generator.go - Generates random puzzles with the given attributes
- scorer.go - Calculated the score and penalty of a given puzzle
- command/editor.go - Handles command line parsing
Source Code;