Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 564 Bytes

README.md

File metadata and controls

43 lines (31 loc) · 564 Bytes

Maze generator

Generate a maze with the hunt-and-kill algorithm

maze demo

Setup

pipenv install
pipenv shell
python3 run.py

Usage

key description
Enter Run algorithm
R Reset
S Solve the maze
SCROLL Change cell size
hold W & SCROLL Change grid width
hold H & SCROLL Change grid height
ESC Exit program

Development

pipenv install --dev

Run tests

pytest

Test coverage

pytest --cov=maze tests