Coding Challenge #10.3: Maze Generator with p5.js – Part 3



In part 3 of the Maze Generator Challenge, using p5.js, I cover steps 3 and 4 of the recursive backtracker algorithm to generate a maze: Removing walls and marking current cell as visited.

Part 4: https://www.youtube.com/watch?v=_p5IH0L63wo

Support this channel on Patreon: https://patreon.com/codingtrain

Send me your Coding Challenge ideas!

Contact: http://twitter.com/shiffman

Nature of Code class on Kadenze: https://www.kadenze.com/courses/the-nature-of-code/info

Source Code for this project:
https://github.com/CodingTrain/Rainbow-Code/tree/master/CodingChallenges/CC_10_Maze_DFS_p5.js

p5.js: https://p5js.org
Algorithm for Maze Generators: https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker

For more Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

To learn more about javascript: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

Help us caption & translate this video!

http://amara.org/v/QbsY/

source

Reply


Build A Site Info