r/programminghorror • u/No_Opening_5597 • Sep 25 '26
Javascript Rock paper scissors
I'm way too proud of this solution haha
290
Upvotes
r/programminghorror • u/No_Opening_5597 • Sep 25 '26
I'm way too proud of this solution haha
View all comments
Show parent comment
2
u/No_Opening_5597 Sep 25 '26
its not a proper program haha, I didn't add that in cause I'll probably rewrite this properly, I just thought like "oh wait can I just skip writing any logic and..." the whole joke was the fact that instead of writing it in a sensible way I added a number to a string, the kinda shit you usually do on accident when starting out, and I found it funny as hell that it was running on such janky logic