The Whack-a-Mole Game is an interactive web-based game built using JavaScript, HTML, and CSS. The goal is to "whack" moles that pop up randomly by clicking on them before they disappear. The game tests your reflexes and speed!
- Random Mole Appearance: Moles pop up at random positions and intervals.
- Score Counter: The game tracks your score based on how many moles you successfully hit.
- Timer: The game includes a countdown timer, and the objective is to score as many points as possible before time runs out.
- Clone the repository to your local machine:
git clone https://github.com/yourusername/whack-a-mole.git
Navigate to the project directory:
cd whack-a-mole
Running the Game Open the index.html file in your web browser.
-Moles will appear in random holes on the game board. -Click on a mole to "whack" it and earn points. -The game ends when the timer runs out, and your final score will be displayed. -Try to whack as many moles as possible to achieve a high score!
Contributions are welcome! If you have ideas for new features or improvements, feel free to fork the repository and create a pull request.