Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.25 KB

readme.md

File metadata and controls

45 lines (31 loc) · 1.25 KB

Whack-a-Mole Game

This is a simple Whack-a-Mole game implemented using HTML, CSS, and JavaScript. The game involves hitting moles that randomly appear on the screen within a limited time.

ScreenShot

Screenshot (4)

Link

https://gauyash.github.io/whack-a-mole/

Features

  1. Random appearance of moles in holes.
  2. Hit the mole to increase the score.
  3. Time-based gameplay with a countdown timer.
  4. Sound effects for hitting moles.
  5. Start and reset functionality.
  6. Responsive design for various screen sizes.

Getting Started

  • To get started with the game, follow these steps:
  • Clone the repository or download the source code.
  • Open the index.html file in a web browser.

Usage

  1. Click the "Start" button to begin the game.
  2. Moles will randomly appear in the holes.
  3. Click on the moles to score points.
  4. The countdown timer displays the remaining time.
  5. Try to score as many points as possible before the time runs out.
  6. After the game ends, the final score will be displayed.
  7. Click the "Start" button again to play a new game.

Technologies

  • HTML
  • CSS
  • JavaScript

License

This project is licensed under the MIT License