HTML Maze LogoHTML Maze
Play MazeGeneratorPrintableKidsBlog

Play Online

  • Classic Maze
  • Maze Runner
  • Circle Maze
  • Gravity Maze
  • Color Maze
  • Pac-Man
  • Daily Challenge

More Games

  • Hedge Maze
  • Hex Maze
  • Tilting Maze
  • Interactive Maze
  • JS Maze Game
  • Free Puzzles

Printable

  • All Printable Mazes
  • Kids Mazes
  • Easy Mazes
  • Hard Mazes
  • With Answers
  • Worksheets

Learn

  • Maze Algorithms
  • Glossary
  • How to Play
  • Blog
  • Strategy Guide
  • Maze Solver

About

  • About Us
  • Privacy Policy
  • Downloads
🏰The HTML Maze

© 2026 The HTML Maze. Free interactive browser puzzle game. No download required.

PrivacyAboutBlog

📖 Maze Glossary

Essential terms and definitions for maze games, maze generation, and pathfinding algorithms. Whether you're a player, student, or developer — this is your reference guide.

Jump to a Term

🔍 Depth-First Search (DFS)🌊 Breadth-First Search (BFS)⭐ A* Algorithm📐 Dijkstra's Algorithm🔄 Recursive Backtracking🌳 Prim's Algorithm📊 Maze Complexity🚫 Dead End

All Terms

🔍

Depth-First Search (DFS)

SolvingGeneration

A graph traversal algorithm that explores as far as possible along each branch before backtracking. Fundamental to maze generation and solving.

Read Definition →
🌊

Breadth-First Search (BFS)

SolvingShortest Path

A level-by-level exploration algorithm that guarantees the shortest path in unweighted mazes. Think of it as a wave spreading outward from the start.

Read Definition →
⭐

A* Algorithm

SolvingOptimalHeuristic

The gold standard of pathfinding. Combines actual distance with a heuristic estimate to find the optimal path faster than Dijkstra.

Read Definition →
📐

Dijkstra's Algorithm

SolvingWeightedOptimal

A classic shortest-path algorithm that explores outward uniformly from the start. Optimal for weighted graphs but slower than A* for single-target searches.

Read Definition →
🔄

Recursive Backtracking

GenerationPopular

The most popular maze generation algorithm. Uses DFS to carve passages, creating mazes with long, winding corridors and few branches.

Read Definition →
🌳

Prim's Algorithm

GenerationMST

A minimum spanning tree algorithm adapted for maze generation. Produces mazes with shorter dead ends, more branching, and a natural-looking structure.

Read Definition →
📊

Maze Complexity

TheoryDifficulty

How maze difficulty is measured — from branching factor and solution length to dead-end density and the number of decision points.

Read Definition →
🚫

Dead End

ConceptStructure

A passage that terminates with no exit except the way you came in. The ratio of dead ends to junctions defines much of a maze's character.

Read Definition →

📚 Terms by Category

🔍 Solving Algorithms

  • Depth-First Search (DFS)
  • Breadth-First Search (BFS)
  • A* Algorithm
  • Dijkstra's Algorithm

🏗️ Generation Algorithms

  • Recursive Backtracking
  • Prim's Algorithm

🧩 Concepts & Structure

  • Maze Complexity
  • Dead End

🔗 Related Resources

🧠
Maze Algorithms Guide

Deep-dive into generation & solving techniques

⭐
A* Pathfinding Deep Dive

Full guide to A* with examples & benchmarks

📋
How to Play

Learn the basics of our maze games

🎮
Play the Classic Maze

Put your knowledge into practice!

This maze glossary covers the most important maze algorithm terms and pathfinding definitions used in maze games, computer science classes, and game development. Each term includes a plain-language definition, step-by-step explanation, and links to interactive demonstrations on HTML Maze.

Understanding concepts like depth-first search, breadth-first search, and the A* algorithm helps you appreciate how mazes are generated and solved — both on paper and in code. Explore each term to deepen your understanding of maze algorithms and improve your maze-solving strategy.