Skip to content

caronramos/JS-Week-6-Final-Coding-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

JS-Week-6-Final-Coding-Project.js

JS Week 6 Final Coding Project

Coding Steps:

For the final project you will be creating an automated version of the classic card game WAR. Think about how you would build this project and write your plan down. Consider classes such as Card, Deck, and Player and what fields and methods they might each have. You can implement the game however you’d like (i.e. printing to the console, using alert, or some other way). The completed project should, when ran, do the following:

  • Deal 26 Cards to two Players from a Deck.
  • Iterate through the turns where each Player plays a Card
  • The Player who played the higher card is awarded a point Ties result in zero points for either Player
  • After all cards have been played, display the score.

Write a Unit Test using Mocha and Chai for at least one of the functions you write.

About

JS Week 6 Final Coding Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published