Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

fredlee0109/BlackJack-Optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BlackJackOptimizer

About

BlackJackOptimizer follows the basic BlackJack Strategy Assumes the game is played under Single Deck, American Style, Dealer Stands on Soft 17, Double After Split is Allowed, and No Surrender.

The program tells the user whether to HIT, SPLIT, DOUBLE, STAND, based on available information given. It is time to beat the dealer!

How to use BlackJackOptimizer

  1. on command line: javac.BlackJackOptimizer.java
  2. on command line: java BlackJackOptimizer
  3. Type : [Dealer's card] [Your 1st Card] [2nd Card] to start a new game anytime.
  4. Type : 'help' for commands

For the future:

* Create a GUI, * save history, * ask if Double is allowed * use Serializable to only do init() once. * create a list of commands * allow for different # of decks * allow for different blackjack styles * allow for different strategies, such as counting. * ask user if they want to have "counting" in the system * show statistics of winning with the using strategy * percentage of winning after stand?

Known Bugs

* Split on A/A > Hit A

@copyright. Everything is my work alone, and I reserve the right for this program.

@Fred Lee
More of me at my site .

About

Blackjack Optimizer that wins you games

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages