Look at adding a basic minesweeper helper for the minesweeper fishing minigame.
All it should do it is mark the probabilities of a mine being there or not.
Broad steps:
Detect if the minesweeper minigame is happening.
Detect the current board size and state. This can be done via detecting the color of the particle in each box.
Red = Flag
Gray = 0
Blue = 1
Green = 2
Yellow/Orange = 3
Using the detected board state, generate the probabilities of each free spot having a mine based on the clues given.
Display the probabilities. Maybe by using glowing blocks where color represents it? (Red = mine, green = 100% safe, gradient?)
Figure out a way to detect the total number of mines and use that as part of probabilities calculating to make it accurate.
The minesweeper minigame appears to occur directly above the fishing bobber.
So first throw a listener onto something related to the fishing bobber (Maybe catch?) then detect if there are particles above it every tick for a second or so.
If so detect if it is the minesweeper minigame by trying to detect if there is a grid board? Or some other defining easy to detect feature.
Then detect grid size and tile locations. Then go through each tile and detect what the state is.
Example of what a 4x4 minesweeper board looks like.
This is probably not allowed based on the feelings I get from what mods/tm have said about other things, but what mods don't know they don't know. :). (I'll probably just end up closing this and not adding it.)
Look at adding a basic minesweeper helper for the minesweeper fishing minigame. All it should do it is mark the probabilities of a mine being there or not.
Broad steps:
The minesweeper minigame appears to occur directly above the fishing bobber.
So first throw a listener onto something related to the fishing bobber (Maybe catch?) then detect if there are particles above it every tick for a second or so.
If so detect if it is the minesweeper minigame by trying to detect if there is a grid board? Or some other defining easy to detect feature.
Then detect grid size and tile locations. Then go through each tile and detect what the state is. Example of what a 4x4 minesweeper board looks like.