Skip to content

kuzlab/bj_sim_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is Black Jack simulation coding by Ruby

It automatically simulate 1 dealer vs 3 players BJ table.
Players are playing according to the rules which are defined on "bj_config.rb" file.
Target, to find out "100% win" by simple strategy!

- bj_simulation_main.rb : main loop
- bj_class.rb : define the basics, routine, process of Black Jack game
- allhands_class.rb : define wrappers specified for 3 users game
- hands_class.rb : define each operations (ex. hit, stand, double down, split, etc.)
- bj_config.rb : define configurations (in other word, "strategy")

How to use : just execute

 ruby bj_simulation_main.rb
 
Have fun!


#--------------------------------------------
# All rights reserved by Yuichiro Kuzuryu
#--------------------------------------------

About

Black Jack simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages