Skip to content

UtkarshKm/JavaScript-1st-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript-1st-project

Blackjack Game

This is a simple Blackjack game developed using JavaScript, HTML, and CSS. In this game, the player can play rounds of Blackjack against the computer. The value of the cards is determined by their face value, with face cards (Jack, Queen, King) worth 10 points and Aces initially worth 11 points.

How to Play

  1. Click the "START GAME" button to start the game.
  2. The initial two cards will be drawn automatically for the player.
  3. The player has the option to draw a new card by clicking the "NEW CARD" button.
  4. The goal is to get as close to 21 points without exceeding it.
  5. If the player's total exceeds 21, the game ends.
  6. If the player's total reaches 21, the player wins with Blackjack.

Feel free to download or clone the repository and open the index.html file in your preferred web browser to play the game.

About

A simple blackjack game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published