Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

JavaScript Card War Game Project Course

via Udemy

Overview

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

What you'll learn:
  • How to use JavaScript
  • How to create elements dynamically
  • Manipulate elements using JavaScript
  • Explore JavaScript Document Object Model

Learn more about JavaScript -DOMmanipulation 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 DYNAMICand 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.

Along with friendly support in the Q&A to help you learn and answer any questions you may have.

Try it now you have nothing to lose, comes with a 30 day money back guarantee.

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

Taught by

Laurence Svekis

Reviews

4 rating at Udemy based on 11 ratings

Start your review of JavaScript Card War Game Project Course

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.