The perfect app to give you an initial exposure to the fundamentals of the game, that none of us is a stranger to: Blackjack!
View Demo »
Table of Contents
Blackjack could be a good way to engage in social interaction while playing some cards.
For Blackjack enthusiasts or beginners alike, this Blackjack web app could be a great way to cherish the feeling of playing the game (for experienced players) or to get an initial exposure to the rules of it (for novices).
These are the technologies that I used to build the Blackjack Web App:
- HTML5
- CSS3
- JavaScript
To get a local copy of the app, up and running on your system, follow these steps.
- Fork this repository
- Clone the repository
git clone https://github.com/[your_username]/Blackjack-web-app.git
- Navigate into the directory
cd Blackjack-web-app - Open the
index.htmlfile on your default browser or a browser of your choicexdg-open ./index.html
Once you have successfully downloaded a local copy of the project and have opened it on your browser, you can start the game by hitting the START GAME button. Two cards will be drawn initially.
To continue the game, one needs to continue drawing cards until one attains Blackjack (a sum of 21) or is out of the game (a sum greater than 21). New cards can be drawn by hitting the NEW CARD button.
As soon as one gets a sum of 21 on the cards, one attains Blackjack and hence, wins the game!
The README template, used for this project, was distributed under the MIT License. See LICENSE for more information.
- The code was adapted from Per Harald Borgen's JavaScript course
- Othneil Drew for the README template
- Background image by Markus Spiske on Unsplash




