Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

addie/blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

12 Commits

Repository files navigation

Blackjack

This is a basic command line blackjack game. It has be ability to support multiple players, and supports the common casino blackjack rules such as doubling down, splitting, and insurance. (Surrender is not currently supported).

Usage

java -jar blackjack.jar [args]

-h,--help help
-c,--cash <arg> starting cash for players
-d,--decks <arg> number of decks
-m,--minbet <arg> minimum bet
-M,--maxbet <arg> maximum bet
-p,--players <arg> number of players

Defaults

Players: 1
Cash: 1000ドル
Min Bet: 2ドル
Max Bet: 10,000ドル
Number of Decks: 6

Rules

Double Down

  • Player may double down on 9, 10, or 11

Insurance

  • Insurance pays out 2:1
  • You can wager up to half of your initial bet

Splitting

  • Initial hand my be split if they are the same rank

About

Simple blackjack game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /