Browse Library

JavaScript HTML Game from Scratch Blackjack

Learn how to create a web application from scratch. Apply JavaScript to HTML and CSS to build a Blackjack application

Instructed by Laurence Svekis

5 days left at this price!
  • Single Course access $25 $185 86% off
    Buy
    Buy
    $25
    It Includes:
    Get access to this course only.
    Access to all marketplace courses
    Lifetime Course Access
    Play & Pause Videos
    High Quality Recorded Lectures
    Learn Online from Mobile/PC/Tablet
    Download Course for Offline Viewing
    Inlcudes Real Projects
    Free Instructor Support
  • 1 Month Full Access$19/moLimited offer! (Access 3000+ courses)
    Buy
    Buy
    $19
    It Includes:
    Get Monthly Unlimited Access (1 user)
    Access to all marketplace courses
    Play & Pause Videos
    High Quality Recorded Lectures
    Learn Online from Mobile/PC/Tablet
    Download Course for Offline Viewing
    Inlcudes Real Projects
    Certificate of Completion
    Free Instructor Support
  • Monthly $15/Per user (min 5 users) ($14/user/mo)
    Buy
    Buy
    $15
    It Includes:
    All Personal plan features +
    Best for small teams or Business
    Unlimited access for team
    Admin Dashboard & Analytics
    Basic reporting
    User Management
    Custom Branding Options
  • Yearly $169/Per user (min 5 users) ($14/user/mo)
    Buy
    Buy
    $169
    It Includes:
    All Personal plan features +
    Best for small teams or Business
    Unlimited access for team
    Admin Dashboard & Analytics
    Basic reporting
    User Management
    Custom Branding Options
  • Use JavaScript with HTML and CSS together
  • Create a Blackjack game from scratch
  • Apply logic and build a web based game using HTML, CSS and JavaScript

JavaScript HTML Game from Scratch Blackjack

Learn how to create a web application from scratch.  Apply JavaScript to HTML and CSS to build a Blackjack application

Learn how to build a playable Blackjack web based application from scratch!

Using HTML, CSS and JavaScript this course will show you how to create a game from scratch.  One of the best ways to learn how to use JavaScript is to apply it to projects.  This course show you the steps and process from a blank file to building out the entire game.

This course is designed for beginners with some basic JavaScript, HTML and CSS experience required.  We will be reviewing only the JavaScript functionality required to build the game and demonstrating how to apply the code. This course does not cover HTML, CSS and JavaScript in their entirety but covers the use of them in relation to building a game.

Start with the basics of what is needed, apply logic and build out a working web application.  Test your application, tweak fine tune and get it working as designed.  

Start off building a deck of cards in JavaScript

Learn how to generate values of cards to use within your application.

Prepare to build the game.  Define the game rules and what you need in order to get that functionality.

Learn how to build a playing card visually with CSS

Create the game play using JavaScript applying logic

Add player actions and decision points

Create the logic for the dealer

Put it all together to play Blackjack

Source Code is included, step by step instruction to demonstration how to build an application. 

Taught by an instructor with over 18 years of web development experience.

I'm here to help you learn how to write JavaScript and ready to answer any questions you may have. 

This course showcases how to build a fun interactive application.  When you are ready

  • Basic HTML
  • Basic CSS
  • Basic JavaScript
  • Web developers
  • Web application developers
  • Anyone who wants to learn how to apply JavaScript
  • Anyone who wants to Build a web based game from scratch
View More...

Section 1 : Introduction to building a web based game

  • Lecture 1 :
  • JavaScript game introduction Preview
  • Lecture 2 :
  • Course intro Resources
  • Lecture 3 :
  • JavaScript Creating Random Numbers
  • Lecture 4 :
  • Creating a deck of Cards JavaScript
  • Lecture 5 :
  • Source Code loops and random
  • Lecture 6 :
  • Output special Characters JavaScript HTML CSS
  • Lecture 7 :
  • Adding Color to Characters ternary operator JavaScript
  • Lecture 8 :
  • Source Code
  • Lecture 9 :
  • How to generate a random card value using JavaScript
  • Lecture 10 :
  • Source Code for random card values

Section 2 : Creating the game

  • Lecture 1 :
  • Creating a game Start JavaScript
  • Lecture 2 :
  • Shuffle Array values random order JavaScript
  • Lecture 3 :
  • Deal the cards setup player and dealer JavaScript Loop
  • Lecture 4 :
  • Output Dealer and Players Hand of cards JavaScript
  • Lecture 5 :
  • Source Code deal out cards
  • Lecture 6 :
  • Template for a Card CSS
  • Lecture 7 :
  • Using CSS to create a playing card
  • Lecture 8 :
  • Output Styled Cards into Gameplay JavaScript CSS
  • Lecture 9 :
  • Source Code output styled cards
  • Lecture 10 :
  • CSS JavaScript Cover Dealer Card
  • Lecture 11 :
  • Adding gameplay elements HTML
  • Lecture 12 :
  • Applying Styling CSS to buttons and updating game elements
  • Lecture 13 :
  • Hide buttons start game JavaScript
  • Lecture 14 :
  • Source Code
  • Lecture 15 :
  • Create next options for player JavaScript
  • Lecture 16 :
  • Player actions JavaScript
  • Lecture 17 :
  • Create player values and interactions JavaScript
  • Lecture 18 :
  • Dealer AI JavaScript play the game
  • Lecture 19 :
  • Blackjack values and calculations JavaScript
  • Lecture 20 :
  • Determine who won adjust values JavaScript
  • Lecture 21 :
  • Working prototype source code

Section 3 : Code Tweaks and fine tuning JavaScript HTML CSS

  • Lecture 1 :
  • Gameplay adjustments and tweaks JavaScript
  • Lecture 2 :
  • User styling and dashboard design CSS HTML
  • Lecture 3 :
  • Setting click event JavaScript
  • Lecture 4 :
  • Limit min max for input field values JavaScript onchange event
  • Lecture 5 :
  • Fix button tweak double JavaScript
  • Lecture 6 :
  • Testing and tweaks to debug application JavaScript
  • Lecture 7 :
  • Final test run through of gameplay

Section 4 : Source Code review and exploration

  • Lecture 1 :
  • Game instructions and game play outline
  • Lecture 2 :
  • Clean up source code final tweaks JavaScript
  • Lecture 3 :
  • HTML source Code index.html
  • Lecture 4 :
  • CSS review code
  • Lecture 5 :
  • CSS Source Code style.css
  • Lecture 6 :
  • JavaScript code review part 1
  • Lecture 7 :
  • JavaScript Code review part 2
  • Lecture 8 :
  • JavaScript Source Code
  • 1. How do i access the course after purchase?

    Once you purchase a course (Single course or Subscription), you will be able to access the courses instantly online by logging into your account. Use the user name & password that you created while signing up. Once logged in, you can go to the "My Courses" section to access your course.
  • 2. Are these video based online self-learning courses?

    Yes. All of the courses comes with online video based lectures created by certified instructors. Instructors have crafted these courses with a blend of high quality interactive videos, lectures, quizzes & real world projects to give you an indepth knowledge about the topic.
  • 3. Can i play & pause the course as per my convenience?

    Yes absolutely & thats one of the advantage of self-paced courses. You can anytime pause or resume the course & come back & forth from one lecture to another lecture, play the videos mulitple times & so on.
  • 4. How do i contact the instructor for any doubts or questions?

    Most of these courses have general questions & answers already covered within the course lectures. However, if you need any further help from the instructor, you can use the inbuilt Chat with Instructor option to send a message to an instructor & they will reply you within 24 hours. You can ask as many questions as you want.
  • 5. Do i need a pc to access the course or can i do it on mobile & tablet as well?

    Brilliant question? Isn't it? You can access the courses on any device like PC, Mobile, Tablet & even on a smart tv. For mobile & a tablet you can download the Learnfly android or an iOS app. If mobile app is not available in your country, you can access the course directly by visting our website, its fully mobile friendly.
  • 6. Do i get any certification after completing the course?

    Yes. Once you succesfully complete any course on Learnfly marketplace, you get a certiifcate of course completion emailed to you within 24 hours with your name & the Learnfly badge. You can definately brag about it & share it on your social media or with friends as one of your achievement. Click here to view the sample certificate Click Here
  • 7. For how long can i access my course after the purchase?

    If you buy a single course, that course is accessible to you for a lifetime. If you go for a premium subcription, you can access all the courses on Learnfly marketplace till your subscription is Active.
  • 8. Whats the difference between Single Course Purchase & Go Premium option?

    With Single Course Purchase, you only get an access of one single course. Whereas, with premium monhtly or annual subscription, you can access all the existing or new courses on learnfly marketplace. You can decide what option suits you the best and accordingly you can make your purchase.
  • 9. Is there any free trial?

    Currently, we don't have any free trial but it may be available in near future.
  • 10. What is the refund policy?

    We would hate you to leave us. However, if you are not satisfied, you can ask for a full refund within 30 days & we will be happy to assist you further.

Laurence Svekis,

Instructor, 18+yrs Web Experience I'm here to help you learn, achieve your dreams, come join me on this amazing adventure today Providing Web development courses and digital marketing strategy courses since 2002. Innovative technology expert with a wide range of real world experience. Providing Smart digital solutions online for both small and enterprise level businesses. "I have a passion for anything digital technology related, enjoy programming and the challenge of developing successful digital experiences. As an experienced developer, I created my first computer applications in 1990, and my first website in 1998. I enjoy sharing my knowledge with others and want to help you share in the wonderful opportunities that the internet provides." "Learning, understanding with a strong passion for education. The internet has provided us with new opportunities to expand and share knowledge." Want to learn more about becoming a web developer, do you want to experience the freedom that technology provides for us? Learn how tobring amazing things to life online. Technology connects us all in many ways. It opens up doors to those who embrace it and learn how to make those connections real. "My courses are designed to help you achieve your goals, learn and update skills" Background : An experienced web application developer, having worked on multiple enterprise level applications, hundreds of websites, business solutions and many unique and innovative web applications. Web application development areas of expertise include HTML, CSS, JavaScript, JQuery, Bootstrap, PHP and MySQL. Anything to do with web creation and digital experience. Passionate about everything to do with web application development, programming to online marketing with a strong focus on social media and SEO. "Understanding technology provides a means to better connect with users. It also opens so many doors. Knowledge is the key to success and I want to help you experience what technology has to offer. I'm passionate about web technologies, and look forward to sharing my knowledge and experience with you!"
View More...
develop-your-own-chrome-extension-firefox-plugin

Develop your own Chrome Extension &...

By : Harshit Srivastava

Lecture 15

the-extreme-web-development-course

The Extreme Web Development Course

By : Paul Carlo Tordecilla

Lecture 124

superb-advance-javascript-become-javascript-professional

Superb Advance Javascript - Become ...

By : Paul Carlo Tordecilla

Lecture 28

application-development-with-ibm-watson

Application development with IBM Wa...

By : Harshit Srivastava

Lecture 14

learn-react-16-and-redux-by-building-real-world-application

Learn React 16 and Redux by buildin...

By : Haider Malik

Lecture 74

jquery-for-beginner-to-advanced-12-projects-included

jQuery for Beginner to Advanced: 12...

By : Sandip Bhattacharya

Lecture 15

Sign up and start learning
By signing up, you agree to our Terms of Use and Privacy Policy
Forget Password