Ask coding questions

← Back to all posts
Rock Paper Scissors bot needs some help
TerrorbuildLuna (38)

I am trying to make a bot in rock paper scissors that follows a certain strategy that will grant it 70% success rate. However, this requires the bot to remember it and the human's last 2 moves. I already found a solution by making a duplicate of the things in the while loop, but that was kinda sloppy so I changed it. Does anyone have any better ideas? Please help.

EDIT: Uh... so is anyone gonna help me? Or at least upvote me so someone else can help me?

TerrorbuildLuna (38)

yup, search it up, rock paper scissors surprisingly has strategy!

TerrorbuildLuna (38)

@DynamicSquid no there is actually a lot of strategy in the game

DynamicSquid (4618)

A bot? Isn't rock paper scissors just luck?