From 92a12b935a439ebcca808c07a4e4d37c8b384d57 Mon Sep 17 00:00:00 2001 From: Dmitrii Date: Sun, 22 Oct 2023 14:35:49 +0200 Subject: [PATCH] add project example --- Projects/1-Beginner/rockPaperScissorsGame.md | 30 ++++++++++++++++++++ README.md | 1 + 2 files changed, 31 insertions(+) create mode 100644 Projects/1-Beginner/rockPaperScissorsGame.md diff --git a/Projects/1-Beginner/rockPaperScissorsGame.md b/Projects/1-Beginner/rockPaperScissorsGame.md new file mode 100644 index 00000000..189b9ccd --- /dev/null +++ b/Projects/1-Beginner/rockPaperScissorsGame.md @@ -0,0 +1,30 @@ +# Rock, Paper, Scissors Game + +**Tier:** 1-Beginner + +- A standard Rock, Paper, Scissors game to play. +- HTML/CSS/JavaScript knowledge. + +## User Stories + +- [ ] User can press one of the three buttons to make a choice (rock, paper, scissors). +- [ ] The choice is displayed on the screen along with a randomly generated opponent's (computer) choice. +- [ ] The result (who won) is displayed on the screen. +- [ ] User can press the buttons again to play again. + +## Bonus features + +- [ ] Add a Play button to start the game. +- [ ] Add a counter to display player's and opponent's count. +- [ ] Add a button to restart the game (reset the counter). +- [ ] Add a win condition (e.g., first one who gets three rounds wins). +- [ ] Add animations. + +## Useful links and resources + +[DOM manipulation](https://developer.mozilla.org/docs/Learn/JavaScript/Client-side_web_APIs/Manipulating_documents) +[JavaScript conditionals](https://developer.mozilla.org/docs/Learn/JavaScript/Building_blocks/conditionals) + +## Example projects + +[Basic CodePen Example](https://codepen.io/Dimterion/pen/GRPvvVP) diff --git a/README.md b/README.md index 2d209743..b370d4a9 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ required to complete them. | [Pomodoro Clock](./Projects/1-Beginner/Pomodoro-Clock.md) | Task timer to aid personal productivity | 1-Beginner | | [Product Landing Page](./Projects/1-Beginner/Product-Landing-Page.md) | Showcase product details for possible buyers | 1-Beginner | | [Quiz App](./Projects/1-Beginner/Quiz-App.md) | Test your knowledge by answering questions | 1-Beginner | +| [Rock, Paper, Scissors Game](./Projects/1-Beginner/rockPaperScissorsGame.md) | Play a standard Rock, Paper, Scissors Game | 1-Beginner | | [Recipe App](./Projects/1-Beginner/Recipe-App.md) | Recipe | 1-Beginner | | [Random Meal Generator](./Projects/1-Beginner/Random-Meal-Generator.md) | Generate random meals | 1-Beginner | | [Random Number Generator](./Projects/1-Beginner/Random-Number-Generator.md) | Generate random number between range. | 1-Beginner |