A JavaScript War Card Game Project from Scratch [Video]

More Information
  • Build an application from scratch
  • Learn to apply JavaScript code
  • Use JavaScript within web applications

This course will walk you through how to set up a complete interactive web card game from start to finish. All the source code is included so you can go from setup to completion via step-by-step tutorials. Basic JavaScript and CSS knowledge is required as the scope of this course is to demonstrate using JavaScript to build web applications. This course is a perfect fit when it comes to learning more about writing JavaScript within a fun dynamic project. You'll learn the core concepts of web development and how to apply JavaScript to make your project come to life.

Style and Approach

This course demonstrates how to build a complete interactive web card game from start to finish. The best way to learn is to practice and this project is a great place to start and challenge yourself to see what you can do with JavaScript. War is a simple game with straightforward rules and makes a great digital project. The rules require dealing cards to each player, then taking the top card and seeing which player has the highest card. The high card wins the pot and the remaining cards then go to the bottom of the player's stack. The first player to run out of cards loses! Within the course we simulate this game using the rules and apply them with JavaScript, using functions, ternary statements, loops, intervals, variables, arrays, and objects in unison to build the game. The source code is also included.

  • How to use JavaScript within web applications
  • How to build an application from scratch
Course Length 1 hour 57 minutes
ISBN 9781789809459
Date Of Publication 6 Sep 2018


Laurence Svekis

Laurence Svekis is an instructor. He has 18+ years' work experience in web development, providing smart digital solutions online for both small and enterprise-level businesses. An experienced web application developer, he has worked on multiple enterprise-level applications, hundreds of websites and business solutions, and many unique and innovative web applications. His web application development areas of expertise include HTML, CSS, JavaScript, JQuery, Bootstrap, PHP, and MySQL—in short, anything to do with web creation and digital experience. He is passionate about everything to do with web application development and programming to online marketing with a strong focus on social media and SEO.