r/programminghorror • u/No_Opening_5597 • Sep 25 '26
Javascript Rock paper scissors
I'm way too proud of this solution haha
288
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
5
u/Kwolf21 [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" Sep 26 '26
That's Javascript for ya. Very little rules. 1 + "1" = 11 :)