github.com/tbrand/roulette
master / published Nov 3, 2018 / repository
Simulate, Analyze and Play Roulette with Algorithms
You can try awesome algorithms quickly.
This project contains 4 binaries.
- :moneybag: rl_analyze Analyzing an algorithm.
- :moneybag: rl_play Play interactively without any algorithms. (Your bets.)
- :moneybag: rl_simulate Simulate chosen algorithm.
- :moneybag: rl_compare Algorithms competetion of winning rate.
Quick Start
Crystal environment is required for the building.
After cloning this repository,
shards build
Now you can see 4 binaries at bin directory.
You can see the usages of each binary by '-h' option.
Screen Shots
Playing Mode
Analyzing Mode
Comparing Mode
Simulate Mode
Need Your Contribution!
- Add another awesome betting algorithm to here
- Add another bet type to here
- Bug fixes
- Fork it (https://github.com/tbrand/roulette/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- tbrand Taichiro Suzuki - creator, maintainer
API
- Algorithm
- AllRed
- AntiDAlembert
- Bet
- BetColor
Bet on the colour of the winning number
- BetEvenOdd
Bet on whether the winning number will be odd or even
- BetHighLow
Bet on whether the winning number will be low (lower than 19) or high
- BetStraight
This is a bet that covers only one number.
- BetType
- Cli
- Cocomo
- DAlembert
- GameOver
- Input
- Int32
RED 1 3 5 7 9 12 14 16 18 19 21 23 25 27 30 32 34 36
- Martingale
- MonteCarlo
- Options
- Pare
- Printer
- Profile
- RoulatteAnimation
- Roulette
- Runner
- TenPercent