GithubHelp home page GithubHelp logo

frontendjsproject's Introduction

Intro to JavaScript Week 6 Coding Assignment

Points possible: 70

Category Criteria % of Grade
Functionality Does the code work? 25
Organization Is the code clean and organized? Proper use of white space, syntax, and consistency are utilized. Names and comments are concise and clear. 25
Creativity Student solved the problems presented in the assignment using creativity and out of the box thinking. 25
Completeness All requirements of the assignment are complete. 25

Instructions

In VS Code, or an IDE of your choice, write the code that accomplishes the objectives listed below. Ensure that the code compiles and runs as directed. Take screenshots of the code and of the running program (make sure to get screenshots of all required functionality) and paste them in this document where instructed below. Create a new repository on GitHub for this week’s assignments and push this document, with your JavaScript project code, to the repository. Add the URL for this week’s repository to this document where instructed and submit this document to your instructor when complete.

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 o 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.

Screenshots of Code:

Screen Shot 2020-07-11 at 9 36 17 AM Screen Shot 2020-07-11 at 9 36 36 AM Screen Shot 2020-07-11 at 9 36 46 AM Screen Shot 2020-07-11 at 9 36 55 AM Screen Shot 2020-07-11 at 9 37 29 AM Screen Shot 2020-07-11 at 9 37 41 AM Screen Shot 2020-07-11 at 9 38 14 AM

Screenshots of Running Application:

Screen Shot 2020-07-11 at 9 37 18 AM Screen Shot 2020-07-11 at 9 38 34 AM

URL to GitHub Repository:

https://github.com/promineotech/FrontEndJSProject

frontendjsproject's People

Contributors

blentz100 avatar

Forkers

jcodes17

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.