(Solved) : Write Simple Java Game Payer Clicks Red Blocks 10 Doesnt Bomb Red Block Change Colour Yell Q35572065
Write simple JAVA game where payer clicks on red blocks (thereshould be 10 of them) and if it is doesnt have “bomb” the red blockshould change colour into yellow. Play A Game button should resetthe game at any time. Exit button should end the game and close theframe. Difficulty buttons – easy (player should uncover 3 blockswithout “bomb”) intermediate (player should uncover 5 blockswithout “bomb”) Difficult (all blocks are armed “bomb”) Once thegame is finished (lose or win) appropriate message should appear onpanel B and game should reset to be ready to play again.