This is a web-based Blackjack game that allows players to play the classic card game against a dealer. The game is built using HTML, CSS, and JavaScript.
Live demo: https://weaponxd253.github.io/blackjack/
- Play Blackjack against a dealer
- Interactive user interface with buttons for game actions
- Displays player and dealer hands and scores
- Dynamic theme switching between light and dark modes
- Responsive design for different screen sizes
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/blackjack-game.git cd blackjack-game -
Open the project directory:
cd blackjack-game -
Open the
index.htmlfile in your browser to start the game.
- Open
index.htmlin your preferred web browser. - Click "Start Game" to begin a new game of Blackjack.
- Use the "Hit" button to draw a new card, the "Stand" button to end your turn, and the "Reset Game" button to restart the game.
- Switch between light and dark themes using the "Switch to Dark Theme" button.