"If a worker wants to do his job well, he must first sharpen his tools." - Confucius, "The Analects of Confucius. Lu Linggong"
Front page > Programming > Day / Days of Code: Rock Paper Scissors (RPS) Project

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

Published on 2024-08-29
Browse:781

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.

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

Release Statement This article is reproduced at: https://dev.to/jacobsternx/day-52-100-days-of-code-rock-paper-scissors-rps-project-o9b?1 If there is any infringement, please contact [email protected] delete
Latest tutorial More>

Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.

Copyright© 2022 湘ICP备2022001581号-3