Log In  


Cart #maze_demo-3 | 2019-03-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA


Cart #maze_demo-2 | 2019-03-08 | Code ▽ | Embed ▽ | No License

update 1: Did a lot of work on the maze generation and traversal to leverage 2d array of nodes data structure that holds the maze. Attempting to make some kind of game using a maze.

Player character: You are the spinning blue circle. you have the power to move through walls and teleport enemies to different squares
Thief: The thief starts in the upper left corner of the maze and naively traverses every square regardless of enemies or items. However, when the thief grabs a key his speed dramatically increases.
Goal: Your goal is simply to move the skeletons out of the way of the thief until he finds the key and unlocks the door to a new random maze.
Controls: press Z to select a skeleton you are on, press Z again to teleport that skeleton to your current location. Press X to pass your turn to the thief.

Initial upload: Recursive back tracking maze algorithm implementation for both generation and traversal. Not a game yet, but you can watch that little guy traverse the entire maze.




[Please log in to post a comment]