Skip to content

Files

Latest commit

56a2dcb · Jun 7, 2024

History

History
This branch is 69 commits behind swapnilsparsh/30DaysOfJavaScript:master.

119 - Taash Game

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 7, 2024
Jun 7, 2024
Jun 7, 2024
Jun 7, 2024
Jun 7, 2024
Jun 7, 2024
Jun 7, 2024

Taash Game

The player has to get a hand with a value as close to 21 as possible without going over. A hand that goes over 21 is a bust. The players in a Taash Game plays against the dealer. Each player has to beat the dealer's hand in order to win.

In Taash Game, the suits have no meaning.

  1. Number cards have a value equal to their number.
  2. All the picture cards (Jacks, Queens, and Kings) are worth 10.
  3. Aces are worth 1.
  4. The table keeps a record of total wins,loses and draws
  5. Click on "Restart" Button to start a new game
  6. Click on "Deal" Button to clear the field