JumpingButton is a React component representing a simple game where users have to click on a moving button within a certain time limit to win. The game includes features like different levels, power-ups, and scoring.
- Three difficulty levels: easy, medium, and hard.
- Customizable game settings such as button radius and speed.
- Power-ups that extend the game timer.
- Statistics tracking for games played, wins, and losses.
You can try the live demo here.
- Clone the repository:
git clone https://github.com/your-username/jumping-button.git
- Navigate to the project directory:
cd jumping-button
- Install dependencies:
npm install
- Start the development server:
npm start
import React from 'react';
import JumpingButton from './JumpingButton';
const App = () => {
return (
<div>
<JumpingButton />
</div>
);
};
export default App;
The JumpingButton
component does not accept any props.
This project is licensed under the MIT License - see the LICENSE file for details.