Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Maze

GitHub repo Language C# Target Framework Build Discord License

You can play this game in your browser:
Play Now
Hosted On GitHub Pages

Maze is a pretty self explanatory game. Solve the randomly generated maze. The maze size if coded to be 8x20. You always start in the top left and the end is always in the bottom right.

████████████████████████████████████████████████████████████
█S██    ██ ██          ██ ██    ██       ██       ██ ██    █
█ ██ █████ █████ █████ ██ ██ ██ ██ █████ ██ ██ ██ ██ ██ ████
█ ██ █████ █████ █████ ██ ██ ██ ██ █████ ██ ██ ██ ██ ██ ████
█       ██    ██    ██       ██ ██    ██ ██ ██ ██    ██    █
█ █████ ██ ████████ ██ ████████ ██ ██ ██ ██ ████████ ██ ██ █
█ █████ ██ ████████ ██ ████████ ██ ██ ██ ██ ████████ ██ ██ █
█    ██ ██    ██ ██ ██       ██ ██ ██ ██ ██    ██       ██ █
█ ████████ ██ ██ ██ ██████████████ █████ ██ ██ ███████████ █
█ ████████ ██ ██ ██ ██████████████ █████ ██ ██ ███████████ █
█       ██ ██    ██                ██ ██    ██       ██ ██ █
█ █████ ██ █████ ████████ █████ █████ █████████████████ ██ █
█ █████ ██ █████ ████████ █████ █████ █████████████████ ██ █
█    ██       ██ ██ ██       ██    ██    ██ ██          ██ █
████ ██████████████ ██ ███████████ ██ ██ ██ ██ ████████ ██ █
████ ██████████████ ██ ███████████ ██ ██ ██ ██ ████████ ██ █
█    ██    ██    ██ ██    ██ ██ ██ ██ ██ ██    ██    ██    █
█ ██ █████ ██ ██ ██ █████ ██ ██ █████ ██ █████ ██ ██ ███████
█ ██ █████ ██ ██ ██ █████ ██ ██ █████ ██ █████ ██ ██ ███████
█ ██    ██    ██ ██    ██       ██ ██ ██       ██ ██       █
████ █████ █████ ██ ███████████ ██ ██ █████ █████ ██ █████ █
████ █████ █████ ██ ███████████ ██ ██ █████ █████ ██ █████ █
█          ██                      ██    ██       ██    ██E█
████████████████████████████████████████████████████████████

Input

  • , , , : movement
  • escape: exit game

Notes

At the top of the source code you will see compiler directive(s):

  • #define MazeGenertorLoop: Uncomment this directive and you can watch the code generate mazes infinitely inside a while (true) loop.
  • #define DebugRandomMazeGeneration: Uncomment this directive and you can watch the maze generation algorithm step-by-step.
  • #define UsePrims: Uncomment this directive to use an alternative algorithm for generating mazes.

Downloads

win-x64

linux-x64

osx-x64