How could i make a game like minesweeper?

I want to make a minesweeper game but i dont know what things i would need to code to make it work
and i looked over the internet and no one is explaining it on how to do it so i need some help

Here are some of the basic things you would need for minesweeper:

  • Random generation for mines
  • A grid system
  • Making non-mine tiles check for any mine tiles near them
  • Changing their values appropriately
  • Interactivity between the tiles and player

I would mostly suggest trying to look into these topics rather than an overall minesweeper game since it’s more likely that these questions would be answered than a request about a full system.
If you are still having some issues try looking at the base minesweeper game and seeing what features it has.

3 Likes