r/programminghorror • • Sep 25 '26

Javascript Rock paper scissors

Post image

I'm way too proud of this solution haha

288 Upvotes

27 comments sorted by

View all comments

113

u/avijt Sep 25 '26

this is outdated , use ai api call instead ,😂😂

43

u/No_Opening_5597 Sep 25 '26

yo who downvoted him i thought it was a fun joke lol

3

u/robin_888 Sep 26 '26

Well, an AJAX call would (usually) be a good way to hide the game logic.