Greg SchaferSoftware DeveloperBoulder, CO, USA

ProjectsThings I've built

ThoughtsWhat I'm thinking about

GuidesCode-related tutorials and guides

HobbiesGaming, sports, cooking, etc.

Processing: Spinmaze

24 Jan 2011

Initial state Victory + debug Big maze + enemies

How to Play

Play in the applet above, or download the source and open it in the Processing IDE

  • Move mouse to rotate
  • CTRL to pause (to get to UI elements)
  • ` (backtick/tilde) for debug info
  • 1/2/3/4 to change ball physics
  • R to reset
  • More settings and controls accessible in the UI at the top

What

Inspired by Jamis Buck’s series of blog posts on maze algorithms that showed up on Hacker News, I added physics to maze-solving and ended up with this game, which is played by rotating the maze and using gravity to escape the maze and avoid enemies.

Tech

Processing with fisica library for physics, controlP5 for UI elements, and AILibrary for A*