Share your repls and programming experiences

← Back to all posts
Rock Paper Scizors AI Bot
MikeJMS8910 (234)

This is the game of Rock Paper Scissors but your opponent is an AI bot that will slowly learn your moves so that it can beat you. This is a first to 15 game. Any ways I could make this better? - Tell me in the comments.

Comments
hotnewtop
Coder100 (19277)

yeah, how does the bot learn?

Also for an advantage, make it choose paper as the first move, statistically, rock is the most common choice.

MikeJMS8910 (234)

@Coder100 ok thanks for the advice. The bot learns by finding patterns in the player's move. So it will trach down that the did rock to paper, and then the next time the player does rock the robot will predict paper.