Skip to content

oliviax727/BlackJack

Repository files navigation

Oliver Walters' BlackJack

Y12 Term 4 Project

Getting Started

  • To run the game, enter into the console 'npm start'
  • If it doesn't work, you may have to enter 'npm init'
  • Go to https://localhost:3000

Rules

Basic Rules

  • There is a deck of 52 cards
  • Each player draws two cards to begin around and then bets a certain amount
  • The basic moves a player can make are Hitting (Draw a card) and Standing (Fold on move)

Winning the game and Scoring

  • When all the players have decided to 'stand' or have 21 or more on all hands, the round ends
  • Scoring 21 will mean that 150% of the bet is paid out, unless if it came from split aces
  • Aces can be 11 or 1. Jack, Queen and Kings are all 10. Number cards have their own values
  • The score is calculated by adding up the card values (If having ace = 11 exceeds 21, the ace will become 1)

Betting and Doubling Down

  • A minimum bet of 5 dollars is required
  • Using a double down costs money towards the bet, it will double the bet and then it will hit and stand the deck
  • When doubling down, the deck is hit immediately and then goes standing
  • Bets can be placed only when the initial two cards have been dealt

Splitting

  • The bets are placed on both split decks collectively (If both split decks win, the money is doubled. If both win 21, the money is tripled)
  • Splits can be done only when the card has two idetical number cards

Controls

  • Choose the opponent/dealer agressivenes in the option menu
  • Note that when going to the option menu, the opponent's difficulty will automatically increase
  • The Background Music and SFX volume buttons are at the bottom

Notes on Social and Ethical issues

Social and Ethical considerations

  • The jazz music being played in the background will not be set to autoplay as to keep to Google's policy and the dangers of starting the game in high volume

Bibliography (Assets)

About

Y12 Term 4 Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published