Blackjack Game – JavaScript Exercise

Picture of Blackjack Game

Avatar photo NikoNmaki

Just another simple excercise with javascript from Scrimba Front End Developer -course. Uses Math.random() -static method to draw random cards from the deck and keep tracking when exceeding 21. Applies scores so the ace is 11 and jack, queen and king counts as 10. Number cards have their face value.

From the buttons below, you can check Github repo of this exercise, and also try it out on live version.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top