#Project 2 - Rock, Paper, Scissors
##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
- Copy the "clone URL" from this repo
- 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.
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.