Tutorialspoint
Subscription Includes
$ 130   9.99

JavaScript Card War Game Project Course

Created by Laurence Svekis, Last Updated 06-Aug-2020, Language:English

JavaScript Card War Game Project Course

Create a dynamic fully functional card game using JavaScript - source code is included build your own version

Created by Laurence Svekis, Last Updated 06-Aug-2020, Language:English

What Will I Get ?

  • How to use JavaScript
  • How to create elements dynamically
  • Manipulate elements using JavaScript
  • Explore JavaScript Document Object Model

Requirements

  • Fundamental JavaScript concepts
  • Access to computer
  • Use of editor to write code

Description

Learn more about JavaScript - DOM manipulation while building a fun interactive game from scratch

Card war game - highest card wins the pot of cards -

Game outline

  1. Let the user select the number of players

  2. Use JavaScript to create a deck of cards (52)

  3. Deal the cards to each player evenly

  4. Flip the top card for each player

  5. Check which card it the highest value - if there is a tie run a playoff

  6. On tie run the playoff function checking to see the players followup cards and who has the highest.  If the player runs out of cards they lose.

  7. Let the player determine how many rounds of attack will be run

  8. Keep running steps 4-7 until one player holds all the cards and is the winner

  9. Once a winner is determined allow the player to restart the game build the sequence again

Course Covers

  • Element selection and manipulation

  • Creating arrays in JavaScript - Array methods and array data handling

  • Adding event listeners to listen for user interactions

  • Updating element style properties and values on the fly

  • Adding and removing element classes

  • Creating elements dynamically and adding them to the page

  • Applying game play logic and game development logic

  • Big fixes and debugging applications

  • Checking game logic and applying game logic to create play path

  • Source Code is included

No libraries, no shortcuts just learning JavaScript making it DYNAMIC and INTERACTIVE web application.

Step by step learning with all steps included.

Beginner JavaScript knowledge is required as the course covers only JavaScript relevant to the building of the game.  Also HTML and CSS knowledge is essential as scope of this course is all JavaScript focused.  

Start building your own version of the game today!!!!

Who this course is for:

  • Beginners to JavaScript
  • Anyone who wants to practice writing JavaScript
  • Web developers
  • Anyone who wants to learn to make a JavaScript game without any libraries
  • Beginners to JavaScript curious about Document Object Model and JavaScript Methods

Course Content

Laurence Svekis

Instructor, GDE, Application Developer

I'm here to help you learn, achieve your dreams, come join me on this amazing adventure today
Google Developers Expert - GSuite

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 to bring 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!"