Borderless Minesweeper added
Borderless Minesweeper has been added. It's your classic minesweeper but the edges wrap around so there is no border.
All the core Minesweeper code was made with Test Driven Development. I am steadily making progress towards my goal of making games entirely with Test Driven Development and eventually Continuous Delivery as explained by Dave Farley. youtube link
I used Panda3D Finite State Machine for the transitions between 'playing', and 'won' or 'lost'. I learned that I should have made other states too. It should have been 'Initialisation' 'loading' 'playing' 'won' 'lost'. With 'paused' and 'settings' as stretch goals. And Initialisation only entered once, when the game first opens, to assign all the necessary variables and such.
Panda3D Custom Events were used to make some of the bits talk to eachother and I think they might be a very good contact layer for Test Driven Development. Make seperate parts and have them talk to eachother with custom events. The main FSM could be on it's own and just send general 'hey we entered playing state' messages. And then the playfield part and the menu part would know what to do. At the moment the seperation between those parts isnt clean enough yet.
Files
Get Various Panda3D prototypes
Various Panda3D prototypes
practise makes perfect
Status | Prototype |
Author | roadsidegravel |
More posts
- Mathematical Marbling addedMay 20, 2024
- Puzzle Tiles addedJul 02, 2022
- Destructive Chaser addedOct 18, 2021
Leave a comment
Log in with itch.io to leave a comment.