MZ Help with a minesweeper minigame

Hiii I know everything it's going to be shut down the 18th but does anyone's know how I could make a mine sweeper?
I'm trying to find a more practical way to make this minigame for my project, for now now all of the tiles are single events, whenever thr player interacts with a tile it triggers one of 1/7 possible configurations, which chooses the configuration where that tile is blank. and uses a script call to reveal all of the blank tiles of that space, only problem is the 160 tiles field i should individually prepare X at least 8×10 configurations to avoid insta kill tiles and make it feel replayable.
What I'm asking is, is there any less time consuming way to code it? (The player is the cursor in case I wanted to make the field bigger for "hard" difficulty, and so the player would scroll down.)
I would code it so all the tile is ONE event. MV has a plugin for applying regionId's to act as event triggers, I don't know what plugins are available for MZ users.
Hmmm use loop to show big number of sprite clickables (or derivatives) that show grey graphic. Add there property of what's their spot on the grid and ._mine (randomly turn x amount to mine true) and ._clicked. Then change the click method to change the graphic depending on if it's ._mine or not when clicked. Also when clicked it does like minesweeper where it checks the neighbors and if there's no mine around them it reveals (changes graphic) for them too.
Hmmm use loop to show big number of sprite clickables (or derivatives) that show grey graphic. Add there property of what's their spot on the grid and ._mine (randomly turn x amount to mine true) and ._clicked. Then change the click method to change the graphic depending on if it's ._mine or not when clicked. Also when clicked it does like minesweeper where it checks the neighbors and if there's no mine around them it reveals (changes graphic) for them too.
Thanks for the help I'll try it as soon as I get my hands on my laptop, it's such a shame this forum is disappearing tomorrow
Thanks for the help I'll try it as soon as I get my hands on my laptop, it's such a shame this forum is disappearing tomorrow
Make sure to repost this on https://rpg-refuge.com/ if you don't manage to get it solved in time.
I do have some ideas of how to do that if your current approach doesn't work out.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-a-minesweeper-minigame.184052/