![]() I am trying to generate the numbers around the mines that show how many are in a 3x3 area, and so far it has been successful except that the numbers are overlapping when generated instead of replacing each other. Feedback would be appreciated, of course. I am pretty new to Python, and I just need some help with a simple algorithm for a minesweeper game. ![]() In total, around 20-25 hours of work - first 10 hours making the game functional, and then the rest was spent making it actually a positive user experience. I also focused on aesthetics quite a bit. I also tried to account for as many edge-cases in user inputs as I could find to make sure that no issues occur - you should not ever be forced out of a game by typing the wrong thing, and the game will tell you if you are trying to do something you can’t do. There is also extra speedy functionality - performing actions on exposed number-tiles will transfer those actions to the surrounding tiles, just like how it works in real minesweeper. There are many acceptable formats for giving user inputs, all based on coordinates. I focused on making the gameplay as user-friendly as possible. A collection of small python games made by me using pygame and tkinter libraries. Try the game here: GitHub - volcaspo/Snake-Avoider: A game that is in no way similar to minesweeper.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |