Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 904 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 904 Bytes

Prototype-Game-and-Watch

The major addition to the game is the implementation of a maze generation algorithm which utilises recursive division to draw an almost-perfect maze. It’s a very efficient algorithm and places the mines very nicely. I decided to implement the generation of the mines early on because I did not want to deal with reading level data from anywhere or writing the levels by hand: Additionally, the cells count the mines on themselves and the bombs on their adjacent tiles horizontally and vertically and they print the number correctly to the screen, like “illustrated” in the following screenshot

Maze Algo

For more information see: https://jukaio.itch.io/timmy-the-money-badger-and-the-glassmines/devlog/216497/development-log-from-a-simple-design-idea-to-a-game