Skip to content

JAGMAN248/blackjackgame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Blackjack Game

A fully functional, web-based blackjack card game with a modern, beautiful UI.

๐ŸŽฎ How to Play

  1. Open the game: Simply open index.html in your web browser
  2. Place your bet: Enter a bet amount (minimum $1) and click "Place Bet"
  3. Play your hand:
    • Click Hit to receive another card
    • Click Stand when you're satisfied with your hand
  4. Win conditions:
    • Beat the dealer's hand without going over 21
    • If you go over 21, you bust and lose
    • If the dealer goes over 21, they bust and you win
    • Blackjack (21 with first two cards) pays 2:1

๐ŸŽฏ Game Rules

  • Objective: Get as close to 21 as possible without going over
  • Card Values:
    • Number cards (2-10) = face value
    • Face cards (J, Q, K) = 10
    • Ace = 1 or 11 (automatically chosen to your advantage)
  • Dealer Rules: Dealer must hit on 16 or less, stand on 17 or more
  • Starting Balance: $1,000

๐Ÿš€ Features

  • โœจ Beautiful, modern UI with smooth animations
  • ๐ŸŽด Realistic card graphics
  • ๐Ÿ’ฐ Betting system with balance tracking
  • ๐Ÿค– Intelligent dealer AI
  • ๐Ÿ“ฑ Responsive design (works on mobile and desktop)
  • ๐ŸŽฏ Automatic win/loss detection
  • โ™ ๏ธ Standard 52-card deck with shuffling

๐Ÿ“ Files

  • index.html - Main HTML structure
  • styles.css - Styling and animations
  • script.js - Game logic and functionality

๐ŸŽฒ Enjoy the game!

Good luck and have fun playing blackjack!

About

A blackjack card game implementation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors