Day 52 / 100 Days of Code: Rock Paper Scissors (RPS) Project

Wed, August 21, 2024

It’s not just me who thinks Rock Paper Scissors (RPS) is awesome. I used to play RPS sometimes when I was underway in the Navy, and I’ve even seen a couple of small property rights court cases decided by RPS. This simple game has …


This content originally appeared on DEV Community and was authored by Jacob Stern

Wed, August 21, 2024

It’s not just me who thinks Rock Paper Scissors (RPS) is awesome. I used to play RPS sometimes when I was underway in the Navy, and I’ve even seen a couple of small property rights court cases decided by RPS. This simple game has a surprising range of applications!

Thoughts on the RPS Project

  • Codecademy’s Flexibility: One thing I love about Codecademy is how it allows us to calibrate the control flow to be less verbose. Instead of comparing an input to a list of variables in a condition statement, you can create an array and use modern JavaScript methods to compare them. For example, when I see radius * radius * radius, I think, why not write radius ** 3?
  • Importance of Practice: One of the reasons I enjoy practicing coding is that online learning sometimes skips the planning phase or abbreviates and consolidates steps to keep things engaging. Practice questions help fill in those gaps and reinforce the concepts.
  • Staying Focused: I find the Pomodoro timer incredibly useful for maintaining focus. I’ll continue using it daily to keep my coding sessions productive.

rockPaperScissors


This content originally appeared on DEV Community and was authored by Jacob Stern


Print Share Comment Cite Upload Translate Updates
APA

Jacob Stern | Sciencx (2024-08-23T01:29:44+00:00) Day 52 / 100 Days of Code: Rock Paper Scissors (RPS) Project. Retrieved from https://www.scien.cx/2024/08/23/day-52-100-days-of-code-rock-paper-scissors-rps-project/

MLA
" » Day 52 / 100 Days of Code: Rock Paper Scissors (RPS) Project." Jacob Stern | Sciencx - Friday August 23, 2024, https://www.scien.cx/2024/08/23/day-52-100-days-of-code-rock-paper-scissors-rps-project/
HARVARD
Jacob Stern | Sciencx Friday August 23, 2024 » Day 52 / 100 Days of Code: Rock Paper Scissors (RPS) Project., viewed ,<https://www.scien.cx/2024/08/23/day-52-100-days-of-code-rock-paper-scissors-rps-project/>
VANCOUVER
Jacob Stern | Sciencx - » Day 52 / 100 Days of Code: Rock Paper Scissors (RPS) Project. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/23/day-52-100-days-of-code-rock-paper-scissors-rps-project/
CHICAGO
" » Day 52 / 100 Days of Code: Rock Paper Scissors (RPS) Project." Jacob Stern | Sciencx - Accessed . https://www.scien.cx/2024/08/23/day-52-100-days-of-code-rock-paper-scissors-rps-project/
IEEE
" » Day 52 / 100 Days of Code: Rock Paper Scissors (RPS) Project." Jacob Stern | Sciencx [Online]. Available: https://www.scien.cx/2024/08/23/day-52-100-days-of-code-rock-paper-scissors-rps-project/. [Accessed: ]
rf:citation
» Day 52 / 100 Days of Code: Rock Paper Scissors (RPS) Project | Jacob Stern | Sciencx | https://www.scien.cx/2024/08/23/day-52-100-days-of-code-rock-paper-scissors-rps-project/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.