Welcome to the Whac-A-Mole Game repository! This is a fun and interactive game where players have to whack the moles that pop up from their holes.
In this classic Whac-A-Mole game, moles randomly pop up from their holes, and the player's objective is to click on them with the mouse as quickly as possible. The game gets progressively challenging as the moles appear and disappear faster. The player earns points for each successful whack, and the ultimate goal is to achieve the highest score possible.
- Interactive gameplay that responds to mouse clicks.
- Moles that randomly pop up from the grids randomly till the timer runs out.
- A scoring system to keep track of the player's performance.
- Option to restart the game to challenge oneself for a higher score.
- HTML
- CSS
- JavaScript
To play the game locally, follow these steps:
-
Clone the repository:
git clone [https://github.com/your-username/whac-a-mole.git](https://github.com/OzzDm/Whac-a-mole.git)
-
Navigate to the project directory:
cd whac-a-mole
-
Open the
index.html
file in your preferred web browser.
- When you open the game, you will see grids with moles popping out from them.
- Use your mouse to click on the moles as they pop up from their grid.
- Each successful whack will earn you points.
- Try to achieve the highest score possible by whacking as many moles as you can!
Enjoy the game! If you have any questions or feedback, feel free to reach out. Happy whacking!