This project is an implementation of the well-known card game Blackjack, but with the twist of being themed around the Chaos gods from Warhammer Fantasy. They are:
- Khorne: god of war, rage, blood
- Nurgle: god of disease, decay, death and rebirth
- Slaanesh: god of pleasure, passion, excess, pain
- Tzeentch: god of change, destiny, lies, trickery, sorcery
** Images of important characters in the setting serving each deity WILL BE used for the face cards in a future version.
- Each player at the table is playing against the dealer, not against each other.
- Number cards use their number as their score value.
- Face cards all have a score value of 10.
- Aces can be scored as either a 1 or 11. If using an ace as 11 would cause a player to bust, it is automatically counted as a 1.
- If the player's score for the round is higher than the dealer's the player wins the round, receiving 200% of what they bet.
- If the player's score for the round is equal to the dealer's, the round is a tie and no chips are exchanged.
- If the player's score is less than the dealer's, the player loses the chips they bet for the round.
- If the dealer busts, all players who haven't busted win the round.
- Winning a round increases a player's bet at the start of the round by the amount the player bet, unless the player wins by "Blackjack".
- A score of 21 is a "Blackjack". If the player gets a Blackjack, they win the round (unless the dealer also has Blackjack) and receive an extra 50% of their bet.
- To start a round, the deck gets shuffled and players place bets in a clockwise direction, starting to the left of the dealer.
- Each player is then dealt two cards. The dealer is also dealt two cards, with one remaining face down.
- Proceeding in the same clockwise fashion, each player decides to hit (as many times as they like) or stand, deciding to challenge the dealer with the cards they currently have.
- Once all players finish with their hands, the dealer draws cards until their score is 17+.
- Chips are distributed based on individual outcome and cards are recollected.
Michael Schultz
- Masters Traditional Games (The Rules of Blackjack)
- Warhammer Fantasy Fandom Wiki
- Pinterest (Card back image - Dreamstime Stock Photos)
- Stack Overflow (darken background)
- MDN modal
- MDN dialog
- Pinterest (background image) - FROM wall.alphacoders.com
- My Codepen flipcard
- Stack Overflow (dialog close styling)
- Stack Overflow (new cards fade not working)
- Stack Overflow (uppercase first letter)
- Google Archive (playing card fronts)
- Google Fonts