Skip to content

Old experiment: random generated maze with automatic search of the exit by the hero.

Notifications You must be signed in to change notification settings

Polmonite/MazeTable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

MazeTable

Random generated maze with automatic search of the exit by the hero. A minotaur goes around at random, trying to eat the hero; every now and then the minotaur sleeps and the hero can pass over him.

Legend:

  • S: start;
  • X: exit;
  • M: minotaur;
  • Z: sleeping minotaur;
  • .: path the hero has covered and is following;
  • .: path the hero has backtracked.

How to run

Simply run a server like this:

php -S localhost

and go to localhost on the browser.

Refresh when you want to get a new maze.

Accepted options

Via get parameters you can specify:

  • w: maze width;
  • h: maze height.

About

Old experiment: random generated maze with automatic search of the exit by the hero.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages