The Blackjack Card Game was created using JavaScript, HTML, and CSS. It allows the user to play Blackjack against the Dealer on a computer and a mobile device. The user is called the Player on the user interface. To start the game, the Player clicks the Deal button. After 4 cards are dealt, the Player may choose to click the Hit button which deals another card or to click the Stand button which tells the Dealer to stop dealing cards to the Player. Once the user clicks the Stand button, the application automatically deals the Dealer's cards if the Dealer has less than 17 points. After that, all the points are calculated, and a message is generated. The message informs the user who won that hand of Blackjack. It also gives an explanation as to why either the Dealer or the Player won. If the user wants to play another game, click the Deal button again.
- ⭐ Website Link
- ⭐ Screenshots
- ⭐ Getting Started
- ⭐ Prerequisites
- ⭐ Installing
- ⭐ Built With
- ⭐ Software Developer
Feel free to fork the project and change it to your likings. Try it out by cloning the repo to your local machine or download the zip file.
You will preferably need the latest version of Chrome, and a text editor.
Go here for Chrome: https://www.google.com/chrome/
VSCode is my go to: https://code.visualstudio.com/
To get started follow this guide:
In your terminal clone repo to your local machine using git clone:
git clone git@github.com:dbc257/blackjack-card-game.git
Move to your newly cloned repo by entering the following in your terminal:
$ cd blackjack-card-game && npm install
To open all project files from terminal using VSCode just type and enter:
$ code .
- Hypertext Markup Language (HTML)
- Cascading Style Sheets (CSS)
- JavaScript
- David Carlisle