Skip to content

carlosm22700/blackjack-project-one

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack Game

A simple and fun blackjack game built with HTML, CSS, and JavaScript. The game allows users to test their luck by increase/decrease their bet and playing multiple rounds of blackjack against a dealer.

Technologies Used

  • JavaScript: for implementing game logic and functionalities
  • HTML: for structuring game content
  • CSS: for styling game elements and layout

Getting Started

  1. Click here to play the game.

Starting State

  1. To get started, place bet. This can be adjusted with the 'Place Bet' or 'Withdraw Bet' button.

  2. Click 'Confirm Bet' to lock in your bet for the round.

  3. Click 'New Game' to begin a new round of blackjack (New Game, will not start unless bet has been placed).

first hand

  1. During the game, you can choose to 'Hit' or 'Stand'. The goal is to have a higher hand than the dealer without going over 21.

  2. After hands are resolved and totaled, winner will be displayed in message bar.

resolved hand

  1. After the round ends, adjust your bet again and click 'New Game' to play another round. Your Bet Balance is adjusted each round.

  2. If your balance reaches 0, you lose. Refresh the page to try your luck again.

Game Over

  1. Refreshing the page will reset Bet Balance to start a fresh game.

Next Steps

  1. Improve the page layout and readability for a better user experience.

  2. Implement a card-flip feature for the dealer's facedown card, revealing it only when necessary.

  3. Enhance the betting system to allow for larger bets and more flexible wagering options.

  4. Introduce multiple decks and improve randomization for a more realistic gameplay experience.

  5. Add the ability to split hands when the player is dealt a pair of cards with the same value.

  6. Implement additional blackjack features such as double down and insurance.

  7. Add a tutorial or help section to assist new players in learning the game rules and strategies.

  8. Track player statistics such as win/loss ratios, average bet size, and longest winning streaks.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published