T
23

Building a rock-paper-scissors game made coding feel real to me

I always wanted to make my own games, so I started with a basic rock-paper-scissors script in JavaScript. At first, I copied code from a guide, but then I tried to change it. I added a feature to keep track of wins and losses. Seeing the game respond to my inputs was so cool. It took a few tries to get the logic right, but it worked. Now I understand how if-else statements work in practice. This project has given me the confidence to learn more.
2 comments

Log in to join the discussion

Log In
2 Comments
hugo699
hugo6996d ago
You mentioned seeing the game respond to inputs was cool, but rock-paper-scissors felt too basic for me to get that real coding feel. I only felt it when I made a trivia game with score tracking and timers, lol. The logic was way harder to get right, but that struggle made it click more for me.
4
masons27
masons276d ago
2023 was when my rock-paper-scissors game made coding click for me. Figuring out the win conditions and random picks taught me the basics quickly. That foundation made later projects like trivia games much less daunting.
2