Skip to content

This is a game called Blackjack developed using JavaScript, HTML and CSS only.

Notifications You must be signed in to change notification settings

karthiksreenivasanwork/KarthikSreenivasan.BlackjackinJavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack game in JavaScript

This is a game called Blackjack developed using JavaScript, HTML and CSS only.

My LinkedIn Profile | Profile Name: karthiksreenivasan

Please visit my LinkedIn profile page here.

User Interface | Desktop

  • User interface changes based on screen size dynamically.
    • By default, the CSS file configured for desktop is applied.
    • However, if the player's screen width is less than 700 pixels, the CSS file configured for mobile is applied.

Blackjack in Javascript - Showcasing a player's win

Game Rules

  • The goal of the Blackjack game is to beat the dealer's hand without going over 21 points.
  • Jack, Queen, and King are worth 10. Aces are worth 1 or 11, whichever makes a better hand.
  • Each player starts with two cards, and one of the dealer's cards stays hidden until the end.
  • To 'Hit' is to ask for another card. To 'Stand' is to hold your total and end your turn.
  • If you go over 21 points, you bust, and the dealer wins regardless of the dealer's hand.
  • If you are dealt 21 from the start (Ace & 10), you have hit the Blackjack.

Blackjack in Angular

Blackjack in Angular | User Interface

Blackjack in Angular - Showcasing a player's win

About

This is a game called Blackjack developed using JavaScript, HTML and CSS only.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published