https://github.com/rolanddaum/gambleclicker
Click and gamble to get as far as possible
https://github.com/rolanddaum/gambleclicker
css gamble html js minigame
Last synced: 27 days ago
JSON representation
Click and gamble to get as far as possible
- Host: GitHub
- URL: https://github.com/rolanddaum/gambleclicker
- Owner: RolandDaum
- Created: 2024-03-07T20:11:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-23T09:54:42.000Z (over 1 year ago)
- Last Synced: 2025-01-23T10:30:56.544Z (over 1 year ago)
- Topics: css, gamble, html, js, minigame
- Language: HTML
- Homepage:
- Size: 349 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: docs/README.md
Awesome Lists containing this project
README
# [Gamble Clicker](https://rolanddaum.github.io/GambleClicker/)

## Introduction
For every button press the chance of a reset will be increased by one percentage point. Be lucky and get as far as you can. On the bottom of the page there is a chart with the amount of tries visualizing how often how far you came (may take some tries to be properly visualizable).
I think I got this idea from a TikTok video but not in a direct way. After thinking about it for some time, I just made it. Unfortunately a couple of months later I found basically the same game as a paid version on [steam](https://store.steampowered.com/app/2026850/THE_BUTTON__Golden_Button/).
If you still want to try your luck and see how far it takes you press [here](https://rolanddaum.github.io/GambleClicker/) or go to https://rolanddaum.github.io/GambleClicker/
## Probability
For everyone who is interested in the stochastic Maths part of this, here is a chart that shows the probability of an increase on the Y-Axis and the amount of clicks in decimal on the X-Axis.

For reference, here is a screenshot of the chart from the game after something like 10K runs.

Aside from the fact that the X-Axis is mirrored, we can clearly see that the probability chart is an integral of the percentage chart and vice versa as a derivative graph.
The gradient from the first chart can be seen as a value in the second one.