Skip to content

itscodenation/flw1-rps-15-16-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#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 options. Example: Rock-Paper-Scissors-Lizard-Spock

##Grading Criteria Your manager will be grading your capability 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •