MineSweeperD12 by Alex Nevskiy #12
Replies: 16 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
Mine field generation, gradient grid, mines |
Beta Was this translation helpful? Give feedback.
-
Count neighbor mines for cell |
Beta Was this translation helpful? Give feedback.
-
Massive refactoring. Flags: |
Beta Was this translation helpful? Give feedback.
-
In fact, all works fine. |
Beta Was this translation helpful? Give feedback.
-
Independent timer, accurate area open algorithm, mine/flag counting. |
Beta Was this translation helpful? Give feedback.
-
Tiles with shadows |
Beta Was this translation helpful? Give feedback.
-
New animation and sound settings: |
Beta Was this translation helpful? Give feedback.
-
Save active game at exit. |
Beta Was this translation helpful? Give feedback.
-
Restore game at start. |
Beta Was this translation helpful? Give feedback.
-
Loose screen (special render sequence). Display all mines, correct flags on mine, wrong placed flags (cross on mine), and fatal mine (red) No statistics... yet. |
Beta Was this translation helpful? Give feedback.
-
Success screen (special render sequence). Detector scan field after each change and detect success situation. Allow to win even w/o flags. |
Beta Was this translation helpful? Give feedback.
-
Personal statistics and high score. Separated for difficulty (except Custom). For each user. |
Beta Was this translation helpful? Give feedback.
-
About screen: Email and Challenge name - clickable. Mine too. |
Beta Was this translation helpful? Give feedback.
-
I would like to wish good luck to all participants! |
Beta Was this translation helpful? Give feedback.
-
Behind the scenesGradientA set of 30 images of varying brightness is used to display tiles. When the playing field is initialized, a Gradient Field is generated - it matches the size of the playing field and in each cell contains tile indices that will be used to draw the main field.
Safe first clickInitially, a draft field is created, the same size as the main playing field. Its center is found and, depending on the specified dimensions, a zone is created that is prohibited for generating mines. (for example, 1/5 of the field size, but not less than 3x3) Let's say (for ease of explanation), the player clicked on a tile that is highlighted in color. For this place, the horizontal and vertical offset value is calculated and the entire draft field is rewritten into the playing field with this offset, placing a safe zone under the player's click. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Game is ready
https://github.com/AlexandrNevskiy/MineSweeperD12
Pure VCL;
All-In-One, self-sufficient .exe;
As close to the classic (new) version as possible;
Beginner, Intermediate, Advanced and Custom difficult;
Safe first click (as well generate safe area larger than 3x3)
Animation (of opening area);
Sounds (played from memory, no external files);
Save game at exit and restore at start (for each difficulty);
Classic control, adapted to fast-play style.
High Scores and personal statistics.
Save and restore game window position.
Behind the scenes
Beta Was this translation helpful? Give feedback.
All reactions