Skip to content

OakleyJacob/my-treasure-hunt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whack-a-Mole Game

Welcome to the Whack-a-Mole game built with React! This is a simple and fun game where your goal is to whack as many moles as you can within a certain time limit. Test your reflexes and enjoy some classic whacking action!

https://my-treasure-hunt.vercel.app/

Table of Contents

Features

  • Whack-a-Mole Gameplay: Enjoy the classic whack-a-mole experience with a React twist.
  • Countdown Timer: Challenge yourself with a time limit and see how many moles you can whack in that time.
  • Score Tracking: Keep track of your high score and try to beat it with each play.
  • Responsive Design: Play the game on various devices and screen sizes.

Technologies Used

  • React: The game is built using React, a popular JavaScript library for building user interfaces.

Getting Started locally

To get started and play the Whack-a-Mole game locally on your machine, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/your-username/whack-a-mole-game.git
  2. Navigate to the project directory:

cd whack-a-mole-game
  1. Install the necessary dependencies:
npm install
  1. Start the game:
npm start

Now, you can play the Whack-a-Mole game in your web browser at http://localhost:3000.

How to Play

Click on the moles as they appear on the screen to whack them. Each mole whacked earns you points. Try to click as many squares as you can without mistakes. Your high score will be reported, so challenge yourself to beat it in the next round!

Contributing

If you'd like to contribute to this game or have suggestions for improvements, please feel free to create an issue or submit a pull request. We welcome contributions and feedback from the community!