This is a terminal-based casino roulette simulator built with pure Bash, implementing two popular betting strategies:
- Martingale Technique — double your bet after each loss
- Inverse Labouchère Technique — grow your sequence with wins, reduce it with losses
Animated output, colorful interface, and a sleek ASCII-art banner make this script both educational and fun to play with.
⚠️ Gambling is risky — even in a terminal. This is for educational purposes only to understand probabilistic systems, recursion through loops, and shell scripting techniques.
- Color-coded terminal UI (compatible with
lolcat
,boxes
) - Dynamic betting logic based on outcome
- Tracks max money reached
- Ends game when balance hits zero
- Elegant help panel
- 👾 Easily modifiable: great for pentesting-themed CTF-style games
bash
(v4+ recommended)lolcat
(for colorful banners)
Install:sudo gem install lolcat
boxes
(for pretty output)
Install:sudo apt install boxes
git clone https://github.com/venomcrane/Roulette.git
cd Roulette
chmod +x roulette.sh
./roulette.sh -m 1000 -t martingala
./roulette.sh -m 1000 -t inverseLabrouchere
Perfect for:
- Practicing array manipulation in Bash
- Understanding betting system logic
- Enhancing terminal UI for Red Team tools
- Playing with randomness and conditions
💡 "The house always wins, unless you script your way around it." – Anonymous Hacker