https://github.com/chippokiddo/skittlesshaker
Heads or tails simulation of Skittles
https://github.com/chippokiddo/skittlesshaker
simulation simulator
Last synced: about 1 year ago
JSON representation
Heads or tails simulation of Skittles
- Host: GitHub
- URL: https://github.com/chippokiddo/skittlesshaker
- Owner: chippokiddo
- License: mit
- Created: 2024-10-23T09:26:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-25T13:00:21.000Z (over 1 year ago)
- Last Synced: 2025-01-30T01:43:37.385Z (over 1 year ago)
- Topics: simulation, simulator
- Language: JavaScript
- Homepage: https://chippokiddo.github.io/skittlesshaker/
- Size: 310 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Skittles Shaker
A heads-or-tails simulation featuring Skittles. You can shake virtual Skittles that have two sides: heads (s) and tails (no s). The Skittles start off gray, and when you shake the container, they take on random colors, representing heads or tails. Keep shaking until all the Skittles end up as tails.
## 💡Features
- Randomly shake 64 Skittles to see their heads and tails.
- Skittles change to vibrant colors (e.g., red, yellow, green) when they land as heads or tails.
- Reset the simulation anytime by clicking the 'Start Over' button.
- Light/dark mode
- Shake counter
- Progress bar
- Shake sound effect
- Confetti celebration using [canvas-confetti](https://github.com/catdad/canvas-confetti) when you reach all tails.
- Shake effect
- Subtle flip animation
## 🕹️ Try It Out
You can try the Skittles Shake Simulation directly in your browser by visiting **[here](https://chippokiddo.github.io/skittlesshaker/)**.
## 🤝 Contributing
Contributions are welcome! If you have ideas for new features or improvements, feel free to fork the repository and submit a pull request.