Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bombsweeper
#10
The second version of Bombsweeper ....

I remember, last year, the first version of Bomb Sweeper - N5 to N7 at this thread https://naalaa.com/forum/thread-14.html ...
At that time, I tried to learn the logic behind the game : 

Step 1. Make a skeleton of the program, i.e : Initialization, Main Program, Functions Collection
Step 2. Make a simple grid as a platform for Bomb Field
Step 3. Add bombs randomly inside the Bomb Field
Step 4. Detect a cell with a bomb
Step 5. Calculate number of close bombs for each cell
Step 6. Mark the bomb when you press mouse button

Now, it's time for me to revisit the code and continue to learn with the remaining steps ....  Big Grin
Reply


Messages In This Thread
Bombsweeper - by johnno56 - 01-23-2024, 07:12 PM
RE: Bombsweeper - by Asterios - 01-24-2024, 12:48 AM
RE: Bombsweeper - by johnno56 - 01-24-2024, 07:28 AM
RE: Bombsweeper - by Marcus - 01-24-2024, 02:35 PM
RE: Bombsweeper - by johnno56 - 01-24-2024, 11:36 PM
RE: Bombsweeper - by Marcus - 01-25-2024, 05:12 PM
RE: Bombsweeper - by johnno56 - 01-26-2024, 04:58 AM
RE: Bombsweeper - by Marcus - 03-21-2024, 07:11 PM
RE: Bombsweeper - by johnno56 - 03-21-2024, 10:03 PM
RE: Bombsweeper - by 1micha.elok - 03-22-2024, 02:08 AM
RE: Bombsweeper - by Marcus - 03-22-2024, 06:07 AM
RE: Bombsweeper - by 1micha.elok - 03-22-2024, 09:53 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)