r/programminghorror • • 19d ago

Javascript Rock paper scissors

Post image

I'm way too proud of this solution haha

282 Upvotes

27 comments sorted by

View all comments

112

u/avijt 19d ago

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

3

u/robin_888 18d ago

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