Skip to content

ThibClnt/py_little_maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PYTHON LITTLE MAZE GAME

The game

By double clicking the py-little-maze/main.py file, you will discover a new world... Not really. It is just a little game made with pygame, which generates mazes of configurable size, as many times as you want. Once you resolved the maze, another one is automatically generated. If this is too hard, you can click 'Resolve' to see the solution appear.

40 x 20 maze after clicking on resolve

40 x 20 maze after clicking on resolve

Themes

The game supports several themes between which you can switch by pressing space. New themes can be added by adding a .json file in the theme directory, and adding its path in the tuple themes of the main function (main.py)

light themedarkt thememarine theme Light, dark and marine themes

Configuring size

For the moment, the maze size, the wall width and the path resolution width have to be configured by hand. This can be done in the Game class, by changing MAP_SIZE, MAP_WALL_WIDTH and PATH_WIDTH respectively.

img_4.png

About

Maze game (features generation + resolution) made with Pygame

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages