An open API service indexing awesome lists of open source software.

https://github.com/thatsinewave/the-button

The average success rate for clicking the button is less than 2%. Can you beat the odds?
https://github.com/thatsinewave/the-button

browser-game button button-animation button-control button-game button-widget buttons good-first-contribution good-first-issue good-first-issues good-first-pr good-first-pr-first-contribution good-first-project good-first-prs html-css-javascript html-css-js open-source opensource rage-game thatsinewave

Last synced: 13 days ago
JSON representation

The average success rate for clicking the button is less than 2%. Can you beat the odds?

Awesome Lists containing this project

README

        

# [The Button](https://thatsinewave.github.io/The-Button/)

Welcome to **The Button**, a fun and challenging interactive web game where the goal is simple: try to click the button! But beware, the button is smart and will do everything it can to avoid your clicks.

![The-Button](https://raw.githubusercontent.com/ThatSINEWAVE/The-Button/refs/heads/main/.github/SCREENSHOTS/The-Button.png)

The average success rate for clicking the button is less than 2%. Can you beat the odds?

## How to Play

- **Objective**: Click the button as many times as you can.
- **Challenge**: The button moves away from your cursor, making it harder to click.
- **Tracking**: The game keeps track of your attempts, successes, and your success rate in real-time.

## Features

- **Dynamic Button Movement**: The button moves away from your cursor based on your mouse speed and proximity.
- **Confetti Celebration**: When you successfully click the button, a burst of confetti celebrates your victory.
- **Success Rate Tracking**: The game calculates and displays your success rate, so you can see just how elusive the button is.

## ☕ [Support my work on Ko-Fi](https://ko-fi.com/thatsinewave)

## Installation

To run this project locally, follow these steps:

1. Clone the repository:
```bash
git clone https://github.com/your-username/the-button-game.git
```
2. Navigate to the project directory:
```bash
cd the-button-game
```
3. Open `index.html` in your browser:
```bash
open index.html
```

## Hosting on GitHub Pages

This project is hosted on GitHub Pages. You can visit the live version of the game [here](https://thatsinewave.github.io/The-Button/).

## [Join my Discord server](https://discord.gg/2nHHHBWNDw)

## Technologies Used

- **HTML5**: For structuring the game.
- **CSS3**: For styling and animations.
- **JavaScript**: For the game logic and interactivity.
- **Canvas Confetti**: For the confetti effect when the button is clicked.

## Contributing

Contributions are welcome! If you have any ideas for improvements or new features, feel free to open an issue or submit a pull request.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Fun Fact

The average success rate for clicking the button is less than 2%. Can you beat the odds?

---

Enjoy the game and happy clicking! 🎉