Click the green flag to start. Use the left and right arrow keys to move the player. Catching diamonds, emeralds, and gold will give you a point, but catching TNT and creepers will make you lose a point. Each sprite will get smaller each time you catch it (or fail to catch it). You lose if you get -2 points, and you win if you get 10 points. Your score is shown by both the score variable on the top left and the number of hearts on the top right.
I decided to do a Minecraft-themed game to make it a little more fun for me. I got the background and most of the sprites from a Scratch game called Paper Minecraft made by @griffpatch.