Maze Making Using Graphs [Day 24, Raku Advent Calendar]
raku-advent.blog·3d·
Discuss: Hacker News
🔗Graph Algorithms
Preview
Report Post

Skip to content

Introduction

This document (notebook) describes three ways of making mazes (or labyrinths) using graphs. The first two are based on rectangular grids; the third on a hexagonal grid.

All computational graph features discussed here are provided by “Graph”, [AAp1]. The package used for the construction of the third, hexagonal graph is “Math::Nearest”, [AAp2].

TL;DR

Just see the maze pictures below. (And try to solve the mazes.)

##…

Similar Posts

Loading similar posts...