How to Code a Maze in JavaScript

…a tutorial in JavaScript maze generation using various pathfinding algorithms from DFS to Kruskal!

Kiersten Campbell
Geek Culture

--

Light blue maze with white walls.
Image by author

Have you ever wanted to generate a maze? This tutorial will teach you how to create a maze data structure, generate a maze using a pathfinding algorithm and visualize your maze!

--

--