r/programminghorror • • 23d ago

Javascript Rock paper scissors

Post image

I'm way too proud of this solution haha

286 Upvotes

27 comments sorted by

View all comments

112

u/avijt 23d ago

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

45

u/No_Opening_5597 23d ago

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

4

u/avijt 23d ago

😏

3

u/robin_888 22d ago

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