Skip to content

Victor5771/blackjackgame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack Game

Introduction

This is a simple web-based Blackjack game that you can play in your web browser. It allows you to start a game, draw new cards, and determine if you've achieved a Blackjack. The game provides a fun and interactive way to enjoy the classic card game.

Prerequisites

Before you can play this game, you'll need the following:

  • A modern web browser (e.g., Chrome, Firefox, Safari)
  • An internet connection

How to Play

  1. Open the index.html file in your web browser.
  2. Click the "START GAME" button to begin the game.
  3. Your initial cards will be drawn, and the sum of the cards will be displayed.
  4. If you have 21 points with your initial cards, you've achieved a Blackjack, and the game will notify you.
  5. You can click the "NEW CARD" button to draw additional cards, trying to get as close to 21 points as possible without going over.
  6. The game will keep track of your cards, the total sum, and notify you if you've gone over 21 points or if you've won with a Blackjack.

Customization

You can customize the game by modifying the following files:

  • index.html: To update the game layout and elements.
  • styles.css: To change the game's appearance and styling.
  • index.js: To modify the game logic and behavior.

Contributors

License

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

Acknowledgments

  • The game background image is sourced from Unsplash.

Enjoy playing the Blackjack game, and have fun! If you encounter any issues or have suggestions for improvement, feel free to contribute or provide feedback.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published