Skip to content

r4vencrane/Roulette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

🎰 Bash Casino - Roulette Strategies

image

About the Project

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.


Features

  • 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

📦 Requirements

  • bash (v4+ recommended)
  • lolcat (for colorful banners)
    Install: sudo gem install lolcat
  • boxes (for pretty output)
    Install: sudo apt install boxes

Usage

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

Help Panel

image

Martingala Mode

image

Inverse Labouchère Technique

inverse

Learning Objectives

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

About

Program that simulates a Casino Roulette (For Bash Scripting Practice)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages