Skip to content

CTechDigitalpt/simple-blackjack-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack Game

This is a web-based implementation of the classic Blackjack card game. The game allows players to play against a dealer, with features such as splitting hands, scoring, and detecting Blackjack.

Features

  • Play against the dealer.
  • Split hands when dealt two cards of the same rank.
  • Dynamic score calculation and display.
  • Interactive UI with buttons for actions like Hit, Stand, Split, and Deal.
  • Keyboard shortcuts for quick gameplay:
    • H: Hit
    • S: Stand
    • D: Deal

Blackjack Game Screenshot

How to Run

  1. Clone or download the repository to your local machine.
  2. Open the blackjack.html file in any modern web browser.
  3. Enjoy the game!

Controls

  • Hit: Draw another card.
  • Stand: End your turn.
  • Split: Split your hand into two separate hands (if eligible).
  • Deal: Start a new game.

Note

This game does not include betting or mention of money of any kind. It is purely for fun and entertainment.

Acknowledgments

This project is free to use and modify. Please provide recognition to the original developer when sharing or modifying the code.

/* Original Developer: CTechDigital.com */

Contributing

Contributions are welcome! Feel free to fork the repository and submit a pull request with your improvements.

Support

If you enjoy this game and would like to support its continued development, please consider making a donation:

Donate via PayPal

Donate via Patreon

Donate via Ko-Fi

Your support helps maintain and improve this project and others. Thank you!

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Simple BlackJack Game - No Gambling or Scoring just BlackJack Fun

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published