well;
void to_maingame() {
if (mouseX > width / 2.5 && mouseX < width / 1.8 + 150 && mouseY > height - 50 && mouseY < (height - 50) + 100 ) {
drawmines();
gamestatus = GAMEPLAYING;
}
}
might give you more mines, at the moment when you go from start to game screen
must use the new set of mines
you used lots of functions,
but the very much needed
RECT BUTTON MOUSE OVER function is missing!
boolean over( int x, int y, int w, int h ) {
return ( mouseX > x & mouseX < x + w & mouseY > y & mouseY < y + h ) ;
}