Welcome to the Blackjack game project! This project is a simple implementation of the classic Blackjack card game using HTML, CSS, and JavaScript.
This project is a web-based Blackjack game where players can enjoy the classic card game in a digital format. It includes features such as starting a game, drawing new cards, standing, and leaving the game.
- Start a new Blackjack game.
- Draw new cards to improve your hand.
- Stand to keep your current hand.
- Leave the game and return to the entrance screen.
- Player information, including name and money, is stored in the local storage.
To play the Blackjack game, follow these steps:
- Clone the repository to your local machine.
- Open the
enter_screen.html
file in a web browser to enter your name and choose a token. - Click the "ENTER" button to start the game.
- Use the provided buttons to play the game (HIT, STAND, LEAVE).
- Click "START GAME" to begin a new round.
- Click "HIT" to draw a new card.
- Click "STAND" to keep your current hand and let the croupier play.
- Click "LEAVE" to exit the game and return to the entrance screen.
The project has the following file structure:
enter_screen.html
: HTML file for the entrance screen.enter_screen.css
: CSS file for styling the entrance screen.enter_screen.js
: JavaScript file for handling the entrance screen logic.desk.html
: HTML file for the main game screen.desk.css
: CSS file for styling the main game screen.desk.js
: JavaScript file for handling the main game logic.images/
: Directory containing images used in the game.
Check out the live demo here.
Contributions are welcome! If you have any improvements or new features to suggest, feel free to open an issue or create a pull request.