From 59f2eb2df158d3b42614b0f6efd6fffc492a370e Mon Sep 17 00:00:00 2001 From: MichaelOppong Date: Tue, 30 Oct 2018 15:17:49 -0400 Subject: [PATCH 01/16] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5699df4c..e055f5c8 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,14 @@ In this unit, coders will create a Rock, Paper, Scissors game. The Rock, Paper, - [ ] Add, commit, and push your changes - [ ] Make your site live on gh-pages -### HTML -- [ ] Add any more HTML elements you will need to the page - ### JavaScript - [ ] Add a click handler that displays the value of the input within the div with the id `#userChoice` + +### HTML and CSS +- [ ] Add any more HTML elements you will need to the page +- [ ] Customize your HTML with CSS + #### Wrap - [ ] Push your changes! - [ ] Save and submit your website using the link on the Daily Session Document. From 2f378b4001088957eb038e7f3c5677025643e2f3 Mon Sep 17 00:00:00 2001 From: Emily Garvey <41160828+emilygarvey@users.noreply.github.com> Date: Wed, 7 Nov 2018 17:50:35 -0500 Subject: [PATCH 02/16] Update index.html --- index.html | 8 -------- 1 file changed, 8 deletions(-) diff --git a/index.html b/index.html index b9c796d5..7784e5ae 100644 --- a/index.html +++ b/index.html @@ -10,14 +10,6 @@ -

Rock Paper Scissors

From 450dc54e4ccedc7c731edfbf737172a0a43d466f Mon Sep 17 00:00:00 2001 From: Emily Garvey <41160828+emilygarvey@users.noreply.github.com> Date: Fri, 9 Nov 2018 13:33:11 -0500 Subject: [PATCH 03/16] Update index.html --- index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 7784e5ae..75892062 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,13 @@ - + +

Rock Paper Scissors

From b271eb46a69640c9f22ed5308fba8110883cbff3 Mon Sep 17 00:00:00 2001 From: MichaelOppong Date: Sat, 21 Sep 2019 14:29:14 -0400 Subject: [PATCH 04/16] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e055f5c8..a1e80d7f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ In this unit, coders will create a Rock, Paper, Scissors game. The Rock, Paper, #### Planning - [ ] Complete the project planning document. #### Set-Up -- [x] Go to the repository at https://github.com/ScriptEdcurriculum/rockpaperscissors +- [x] Go to the repository at https://github.com/itscodenation/rockpaperscissors - [ ] Fork this repository to your github account and clone to a new workspace - [ ] Add, commit, and push your changes - [ ] Make your site live on gh-pages From a0fc4c60c2c4bd96ee1ab896e09db96500b423ec Mon Sep 17 00:00:00 2001 From: MichaelOppong Date: Mon, 23 Sep 2019 10:06:33 -0400 Subject: [PATCH 05/16] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a1e80d7f..c9ce1c9e 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ In this unit, coders will create a Rock, Paper, Scissors game. The Rock, Paper, - [ ] Complete the project planning document. #### Set-Up - [x] Go to the repository at https://github.com/itscodenation/rockpaperscissors -- [ ] Fork this repository to your github account and clone to a new workspace +- [ ] Fork this repository to your Github account and pull it down to Gitpod - [ ] Add, commit, and push your changes - [ ] Make your site live on gh-pages @@ -29,7 +29,7 @@ In this unit, coders will create a Rock, Paper, Scissors game. The Rock, Paper, ### Javascript -- [ ] Outside of your click handler, declare 3 variables (userChoice, computerChoice and winner) and assign them values of empty strings +- [ ] Outside of your click handler, declare the variables you'll need to track the user choice, computer choice and winner and assign them values of empty strings. - [ ] Outside of your click handler, declare a randomNumber variable and set it equal to 0 - [ ] In your click handler, generate a random number and assign it to the randomNumber variable - [ ] In your click handler, store the input value in the userChoice variable From 4708c68776aef1504e42e2a33551bc8ae1690b5c Mon Sep 17 00:00:00 2001 From: MichaelOppong Date: Fri, 27 Sep 2019 15:22:39 -0400 Subject: [PATCH 06/16] Update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c9ce1c9e..74726d34 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ In this unit, coders will create a Rock, Paper, Scissors game. The Rock, Paper, - [ ] Make your site live on gh-pages ### JavaScript -- [ ] Add a click handler that displays the value of the input within the div with the id `#userChoice` +- [ ] Add a click handler that displays the value of the input within a div ### HTML and CSS @@ -23,7 +23,7 @@ In this unit, coders will create a Rock, Paper, Scissors game. The Rock, Paper, #### Wrap - [ ] Push your changes! -- [ ] Save and submit your website using the link on the Daily Session Document. +- [ ] Save and submit your website using the link on the session agenda. ## Day 2 @@ -32,18 +32,18 @@ In this unit, coders will create a Rock, Paper, Scissors game. The Rock, Paper, - [ ] Outside of your click handler, declare the variables you'll need to track the user choice, computer choice and winner and assign them values of empty strings. - [ ] Outside of your click handler, declare a randomNumber variable and set it equal to 0 - [ ] In your click handler, generate a random number and assign it to the randomNumber variable -- [ ] In your click handler, store the input value in the userChoice variable -- [ ] In your click handler, display userChoice to the screen +- [ ] In your click handler, store the input value in a variable +- [ ] In your click handler, display user input to the screen #### Wrap - [ ] Push your changes! ## Day 3 ## JavaScript -- [ ] Write a conditional statement which, given the number range of randomNumber, assigns ‘rock’, ‘paper’ or ‘scissors’ to the computerChoice variable -- [ ] Display the computerChoice to the screen -- [ ] Write a conditional statement that compares the userChoice to the computerChoice to determine the winner of the game -- [ ] Display the winner to the screen in the result div +- [ ] Write a conditional statement which, given the number range of randomNumber, assigns ‘rock’, ‘paper’ or ‘scissors’ to the computer choice variable +- [ ] Display the computer choice to the screen +- [ ] Write a statement that compares the userChoice to the computerChoice to determine the winner of the game +- [ ] Display the winner to the screen in a div - [ ] Clear the input value once a result is displayed #### Wrap From 579908547b889b4933c46847c60e22866c2b515c Mon Sep 17 00:00:00 2001 From: Gilbert Ghang Date: Thu, 7 Nov 2019 10:52:40 -0500 Subject: [PATCH 07/16] update README.md to include gitpod python setup instructions --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 74726d34..fbcd03b1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Rock Paper Scissors Project +## Browser preview command: python3 -m http.server 3000 ## Overview: In this unit, coders will create a Rock, Paper, Scissors game. The Rock, Paper, Scissors game will take user choice, generate a computer choice, and display the winner to the screen. To create this project, coders will use jQuery to take user input and display data, the Math Library to generate a random choice, and conditionals to determine the winner. From fda622362626428a7ec83e852675e12c2a7a1b51 Mon Sep 17 00:00:00 2001 From: MichaelOppong Date: Wed, 20 Nov 2019 09:34:48 -0500 Subject: [PATCH 08/16] Update script.js --- js/script.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/script.js b/js/script.js index b5c95dc1..a73bee8a 100644 --- a/js/script.js +++ b/js/script.js @@ -7,5 +7,3 @@ -// DOCUMENT READY FUNCTION BELOW - From b230570e93abe4cd14f623768f57153c08cdf97a Mon Sep 17 00:00:00 2001 From: MichaelOppong Date: Thu, 4 Jun 2020 09:38:23 -0400 Subject: [PATCH 09/16] Update README.md --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fbcd03b1..828d242f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # Rock Paper Scissors Project -## Browser preview command: python3 -m http.server 3000 ## Overview: -In this unit, coders will create a Rock, Paper, Scissors game. The Rock, Paper, Scissors game will take user choice, generate a computer choice, and display the winner to the screen. To create this project, coders will use jQuery to take user input and display data, the Math Library to generate a random choice, and conditionals to determine the winner. +In this unit, coders will create a Rock, Paper, Scissors game. The game will take in a user choice, generate a computer choice, compare the choices, and display the winner to the screen. To create this project, coders will use jQuery to take user input, use the Math Library to pick a random computer choice, and use conditionals to determine the winner. ## Day 1 @@ -10,12 +9,12 @@ In this unit, coders will create a Rock, Paper, Scissors game. The Rock, Paper, - [ ] Complete the project planning document. #### Set-Up - [x] Go to the repository at https://github.com/itscodenation/rockpaperscissors -- [ ] Fork this repository to your Github account and pull it down to Gitpod +- [ ] Fork this repository to your Github account and pull it down to Glitch - [ ] Add, commit, and push your changes - [ ] Make your site live on gh-pages ### JavaScript -- [ ] Add a click handler that displays the value of the input within a div +- [ ] Use JavaScript to display the value of the input on the page ### HTML and CSS From 77ea68e29bed0b7b0d46febddc1440cffa204622 Mon Sep 17 00:00:00 2001 From: MichaelOppong Date: Thu, 4 Jun 2020 10:01:20 -0400 Subject: [PATCH 10/16] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 828d242f..1ae55dc3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Rock Paper Scissors Project ## Overview: -In this unit, coders will create a Rock, Paper, Scissors game. The game will take in a user choice, generate a computer choice, compare the choices, and display the winner to the screen. To create this project, coders will use jQuery to take user input, use the Math Library to pick a random computer choice, and use conditionals to determine the winner. +In this unit, coders will create a Rock, Paper, Scissors game. The game will take in a user choice, generate a computer choice, compare the choices, and display the winner to the screen. To create this project, coders will use JavaScript to take user input, use the Math Library to pick a random computer choice, and use conditionals to determine the winner. ## Day 1 From 5916eb627b338845b6f024294e3e2765df6d8494 Mon Sep 17 00:00:00 2001 From: MichaelOppong Date: Thu, 4 Jun 2020 10:13:34 -0400 Subject: [PATCH 11/16] Update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1ae55dc3..a3f9b4ea 100644 --- a/README.md +++ b/README.md @@ -31,20 +31,20 @@ In this unit, coders will create a Rock, Paper, Scissors game. The game will tak - [ ] Outside of your click handler, declare the variables you'll need to track the user choice, computer choice and winner and assign them values of empty strings. - [ ] Outside of your click handler, declare a randomNumber variable and set it equal to 0 -- [ ] In your click handler, generate a random number and assign it to the randomNumber variable -- [ ] In your click handler, store the input value in a variable -- [ ] In your click handler, display user input to the screen +- [ ] When the user initiates the game, generate a random number and assign it to the randomNumber variable. +- [ ] When the user initiates the game, store the user choice.. +- [ ] When the user initiates the game, display user choice to the screen #### Wrap - [ ] Push your changes! ## Day 3 ## JavaScript -- [ ] Write a conditional statement which, given the number range of randomNumber, assigns ‘rock’, ‘paper’ or ‘scissors’ to the computer choice variable +- [ ] Write a conditional statement which, given the number range of randomNumber, assigns ‘rock’, ‘paper’ or ‘scissors’ to the variable that holds the computer choice. - [ ] Display the computer choice to the screen -- [ ] Write a statement that compares the userChoice to the computerChoice to determine the winner of the game -- [ ] Display the winner to the screen in a div -- [ ] Clear the input value once a result is displayed +- [ ] Write a statement that compares the user choice to the computer choice to determine the winner of the game +- [ ] Display the winner to the screen. +- [ ] Clear the input value once a result is displayed. #### Wrap - [ ] Push your changes! @@ -57,7 +57,7 @@ In this unit, coders will create a Rock, Paper, Scissors game. The game will tak - [ ] Create a game with more variety in throwing options. Example: [Rock-Paper-Scissors-Lizard-Spock](http://en.wikipedia.org/wiki/Rock-paper-scissors-lizard-Spock) ## References/Tools -* [Advanced Reference Table]() +* [Fellowship Reference Table]() * [Script Tag](http://javascript.crockford.com/script.html) * [How Jquery Works](http://learn.jquery.com/about-jquery/how-jquery-works/) * [JQuery Events](http://api.jquery.com/category/events/) From caef95a5ea613507debf952bc605088538ba3804 Mon Sep 17 00:00:00 2001 From: MichaelOppong Date: Thu, 4 Jun 2020 10:27:38 -0400 Subject: [PATCH 12/16] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a3f9b4ea..31192b9f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Rock Paper Scissors Project ## Overview: -In this unit, coders will create a Rock, Paper, Scissors game. The game will take in a user choice, generate a computer choice, compare the choices, and display the winner to the screen. To create this project, coders will use JavaScript to take user input, use the Math Library to pick a random computer choice, and use conditionals to determine the winner. +In this unit, coders will create a Rock, Paper, Scissors game. To create this project, coders will use JavaScript to take user input, use the Math Library to pick a random computer choice, and use conditionals to determine the winner. ## Day 1 From b90e9b4662593a5c5a7d54f412e2e5d2f0c2634e Mon Sep 17 00:00:00 2001 From: MichaelOppong Date: Thu, 4 Jun 2020 10:48:30 -0400 Subject: [PATCH 13/16] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 31192b9f..b5b70d0b 100644 --- a/README.md +++ b/README.md @@ -50,11 +50,11 @@ In this unit, coders will create a Rock, Paper, Scissors game. To create this pr - [ ] Push your changes! ## Projects Extensions: -- [ ] Style the page to fit your personality +- [ ] Designed to fit the developer's personality - [ ] Validates input so that it will return “Not valid input” if the user types in a wrong choice. - [ ] Accepts any form of a word regardless of capitalization (i.e. “Rock” “rock” roCk”) - [ ] Keeps track of total wins and losses, until the page refreshes. -- [ ] Create a game with more variety in throwing options. Example: [Rock-Paper-Scissors-Lizard-Spock](http://en.wikipedia.org/wiki/Rock-paper-scissors-lizard-Spock) +- [ ] Allows for more variety in throwing options. Example: [Rock-Paper-Scissors-Lizard-Spock](http://en.wikipedia.org/wiki/Rock-paper-scissors-lizard-Spock) ## References/Tools * [Fellowship Reference Table]() From b7e7e8be8a5d830f681fb11098d433d9fa50391e Mon Sep 17 00:00:00 2001 From: MichaelOppong Date: Thu, 4 Jun 2020 10:53:24 -0400 Subject: [PATCH 14/16] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b5b70d0b..a23e5658 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ In this unit, coders will create a Rock, Paper, Scissors game. To create this pr ## Day 1 #### Planning -- [ ] Complete the project planning document. +- [ ] Copy the [project planning document](https://docs.google.com/document/d/1CCzFGH6Z4AtpWrDuB6KQK73N5-8ywGv0KhO10i3hZPk/edit#) and link a completed version in your ReadMe. #### Set-Up - [x] Go to the repository at https://github.com/itscodenation/rockpaperscissors - [ ] Fork this repository to your Github account and pull it down to Glitch From c34e13c63494e030f9fc1b1e4f449f90d537eadc Mon Sep 17 00:00:00 2001 From: carolynnjimenez <40403222+carolynnjimenez@users.noreply.github.com> Date: Mon, 14 Sep 2020 12:52:56 -0700 Subject: [PATCH 15/16] Update Unit 2 README --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a23e5658..fb65cc60 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,6 @@ In this unit, coders will create a Rock, Paper, Scissors game. To create this pr - [ ] Customize your HTML with CSS #### Wrap -- [ ] Push your changes! - [ ] Save and submit your website using the link on the session agenda. ## Day 2 @@ -34,8 +33,6 @@ In this unit, coders will create a Rock, Paper, Scissors game. To create this pr - [ ] When the user initiates the game, generate a random number and assign it to the randomNumber variable. - [ ] When the user initiates the game, store the user choice.. - [ ] When the user initiates the game, display user choice to the screen -#### Wrap -- [ ] Push your changes! ## Day 3 @@ -47,6 +44,7 @@ In this unit, coders will create a Rock, Paper, Scissors game. To create this pr - [ ] Clear the input value once a result is displayed. #### Wrap +- [ ] Save and submit your website using the link on the session agenda. - [ ] Push your changes! ## Projects Extensions: @@ -57,8 +55,7 @@ In this unit, coders will create a Rock, Paper, Scissors game. To create this pr - [ ] Allows for more variety in throwing options. Example: [Rock-Paper-Scissors-Lizard-Spock](http://en.wikipedia.org/wiki/Rock-paper-scissors-lizard-Spock) ## References/Tools -* [Fellowship Reference Table]() -* [Script Tag](http://javascript.crockford.com/script.html) +* [Fellowship Reference Table](https://docs.google.com/document/d/1qrY2OC-6S04oOXZlYmXja7lmKBmdApR-HXJkhfd67e8/) * [How Jquery Works](http://learn.jquery.com/about-jquery/how-jquery-works/) * [JQuery Events](http://api.jquery.com/category/events/) * [Math.random](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random) From de03f54e2fd667d77268436af1b3330628caf475 Mon Sep 17 00:00:00 2001 From: Emily Garvey <41160828+emilygarvey@users.noreply.github.com> Date: Fri, 18 Sep 2020 11:48:11 -0400 Subject: [PATCH 16/16] Update README.md --- README.md | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index fb65cc60..1e392889 100644 --- a/README.md +++ b/README.md @@ -7,16 +7,15 @@ In this unit, coders will create a Rock, Paper, Scissors game. To create this pr #### Planning - [ ] Copy the [project planning document](https://docs.google.com/document/d/1CCzFGH6Z4AtpWrDuB6KQK73N5-8ywGv0KhO10i3hZPk/edit#) and link a completed version in your ReadMe. + #### Set-Up - [x] Go to the repository at https://github.com/itscodenation/rockpaperscissors - [ ] Fork this repository to your Github account and pull it down to Glitch -- [ ] Add, commit, and push your changes -- [ ] Make your site live on gh-pages +- [ ] Look through all the Starter Code ### JavaScript - [ ] Use JavaScript to display the value of the input on the page - ### HTML and CSS - [ ] Add any more HTML elements you will need to the page - [ ] Customize your HTML with CSS @@ -31,28 +30,31 @@ In this unit, coders will create a Rock, Paper, Scissors game. To create this pr - [ ] Outside of your click handler, declare the variables you'll need to track the user choice, computer choice and winner and assign them values of empty strings. - [ ] Outside of your click handler, declare a randomNumber variable and set it equal to 0 - [ ] When the user initiates the game, generate a random number and assign it to the randomNumber variable. -- [ ] When the user initiates the game, store the user choice.. -- [ ] When the user initiates the game, display user choice to the screen +- [ ] When the user initiates the game, store the user choice. +- [ ] When the user initiates the game, display user choice to the screen. + +#### Wrap +- [ ] Save and submit your website using the link on the session agenda. ## Day 3 ## JavaScript - [ ] Write a conditional statement which, given the number range of randomNumber, assigns ‘rock’, ‘paper’ or ‘scissors’ to the variable that holds the computer choice. -- [ ] Display the computer choice to the screen -- [ ] Write a statement that compares the user choice to the computer choice to determine the winner of the game +- [ ] Display the computer choice to the screen. +- [ ] Write conditional statements that compare the user choice to the computer choice to determine the winner of the game. - [ ] Display the winner to the screen. - [ ] Clear the input value once a result is displayed. #### Wrap - [ ] Save and submit your website using the link on the session agenda. -- [ ] Push your changes! + ## Projects Extensions: -- [ ] Designed to fit the developer's personality -- [ ] Validates input so that it will return “Not valid input” if the user types in a wrong choice. -- [ ] Accepts any form of a word regardless of capitalization (i.e. “Rock” “rock” roCk”) -- [ ] Keeps track of total wins and losses, until the page refreshes. -- [ ] Allows for more variety in throwing options. Example: [Rock-Paper-Scissors-Lizard-Spock](http://en.wikipedia.org/wiki/Rock-paper-scissors-lizard-Spock) +- [ ] Style your page to fit the developer's personality +- [ ] Validate the input so that it will return “Not valid input” if the user types in a wrong choice. +- [ ] Accept any form of a word regardless of capitalization (i.e. “Rock” “rock” roCk”) +- [ ] Keep track of total wins and losses, until the page refreshes. +- [ ] Allow for more variety in throwing options. Example: [Rock-Paper-Scissors-Lizard-Spock](http://en.wikipedia.org/wiki/Rock-paper-scissors-lizard-Spock) ## References/Tools * [Fellowship Reference Table](https://docs.google.com/document/d/1qrY2OC-6S04oOXZlYmXja7lmKBmdApR-HXJkhfd67e8/)