librejack

Blackjack clone written in java
git clone https://github.com/michaelneuper/librejack.git
README | Files | Log | Refs | LICENSE

commit dbb56d3c475d9351bb7a34c3be66fa1ca6a605ea
parent a60749188cfb7aff53f281271b8ea738de18837f
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date:   Fri, 15 Jul 2022 20:41:52 +0200

add rules

Diffstat:
MREADME.md | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -6,6 +6,18 @@ Librejack is simple a blackjack clone written in java. +## Rules of the game + +1. The game is played with a single, standard Deck of 52 cards (for now). +2. Players start with two cards and have an option to hit (draw another card) or stand (end their turn). +3. Normal cards are valued at their number, Face cards (Jack Queen and King) are valued at 10, and aces can be valued at 11 or 1. + - If the value of the hand with an ace puts it over 21, the ace is valued at 1. If it's doesn't, it's 11. +4. If the Player starts with 21, they automatically get BlackJack and win. If the dealer starts with 21, the player loses automatically, before they even get a chance to hit or stand. If they both get 21 in the end, it's a push (a draw/tie). +5. The player may stand (stop drawing) at any time. If they go over 21 they bust and lose. When the player stands, it's the end of their turn, and the dealer begins drawing their third, fourth, fifth card, and so on. +6. The dealer will keep drawing cards until they reach a hand valued at 17 or higher. +7. If neither player nor dealer busts or gets BlackJack, the player with the highest score wins the round. +8. If you run out of cards, the deck is shuffled and you start over. + ## Prerequisites Before you begin, ensure you have met the following requirements: @@ -17,6 +29,7 @@ Before you begin, ensure you have met the following requirements: Download and run the `.jar ` file from the [releases tab](https://github.com/michaelneuper/librejack/releases) ## Directories ++ `db` constains databases + `docs` contains documentation about the program + `lib` contains external libraries the program needs + `nbproject` contains netbeans metadata about the project