Hello everyone! My name is Krish. Today I am very excited to present my show and tell project called the “Mole Game.” I worked hard on this project and learned many new coding skills while making it.When the game starts, it first shows a countdown on the screen that says “3, 2, 1, Go!” This lets the player get ready before the game begins. After that, I created a variable called “game running” and set it to true. This allows the game to keep running using a while loop.
Inside the loop, the game continues as long as “game running” is true. Then I created another variable called “position,” which is used to pick a random number. This random number decides where the mole will appear. Because it is random, the player cannot predict it, which makes the game more fun and challenging.