Sure! Here's a simple game written in JavaScript that meets your requirements:
This game randomly generates rewards based on the given percentages: 90% chance of getting stone, 50% chance of getting gold, and 10% chance of getting a diamond. You can play the game by running the HTML file in a web browser or on your smartphone. The results of your mining session will be displayed in the JavaScript console.