Giter VIP home page Giter VIP logo

02-rockpaperscissors's Introduction

#Project 2 - Rock, Paper, Scissors Imgur

##Do Now Begin this session by completing the Do Now activity.

##Scope You have just been contracted by Old Games, New Programs LLC. They have asked you to make a webapp for Rock, Paper, Scissors. This project was originally contracted to an intern that did not finish the project. Your manager has given you one week to take the former intern's starter code and make a fully functioning game.

##Project Criteria Your Manager has laid out the following requirements for the project:

  • The game will be a 1 player game (user vs. bot).
  • The bot must randomly choose a throw.
  • The game must keep score.
  • The game must display the winner to the user.

##Learning Objectives By the end of this project the employee will be able to...

  • Clone and push a GitHub repository
  • Implement Math.random
  • Use conditions to evaluate a function
  • Use an incrementor

##References/Tools

##Vocabulary

  • Random
  • Function
  • Conditional
  • Evaluate
  • Return

##Instructions

You are given Starter Code for this project which you must clone into your own workspace. You will notice that there are comments inside the script.js file that provide instructions for how components of this project should be made.

####In order to make Rock, Paper, Scissors functional you will need to complete the three tasks below:

###1) Clone this repo into your own Cloud9 account workspace

  1. Copy the "clone URL" from this repo
  2. In your Cloud9 dashboard click on the green "Create New Workspace" button and select "Clone from URL"

Once the workspace has been processed, check to be sure it is up to date by running git status in the terminal. You should receive a messege telling you that your branch is up to date.
Imgur

NOTE: It is common practice to push your changes to your GitHub repository often. It is recommended that you make a push after every major change. Through the course of completing this project you should make 7-10 pushes to GitHub. Your manager will be rating your progress.

To push to GitHub run the following commands in your terminal:
git status
git add .
git commit -m "example comment"
git push origin master

###2) index.html The HTML file in this repo is not fully complete as of right now. Follow the comments within the file before moving on to the script.js file.

###3) script.js Use the comments within the script.js file to help you complete the missing components of this game. Luckily, the former intern left very detailed comments that are easy to follow.

###Bonus) Your Manager has offered a stipend of $500 for each of the bonus requirements listed below:

  • Add CSS to this project using Bootstrap. Give it it's own theme
  • Create a game with more variety in throwing opitons. Example: Rock-Paper-Scissors-Lizard-Spock

##Grading Criteria Your manager will be grading your capibility on this project based on this rubric.

##How to Submit The final code for this project must be pushed back up to your repo on GitHub. Then share the link to your repo at the project submission link found in the header of the Daily Session Document (bit.ly/ScriptEd).

To push to GitHub run the following commands in your terminal:
git status
git add .
git commit -m "example comment"
git push origin master

##Homework Instructor will assign homework based on progress in class.

02-rockpaperscissors's People

Contributors

chinnell avatar dy-dx avatar

Watchers

KurisuXyloto avatar

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.