DEV Community

Prajwal M
Prajwal M

Posted on

As a 15 year old, I built an AI Bot to Beat Four Pattern-Based Rock-Paper-Scissors Bots!

Hi everyone! ๐Ÿ‘‹

I built a Rock-Paper-Scissors bot that uses coding logic to beat four different bots from FreeCodeCamp. Each bot follows a specific pattern, and my program predicts their moves based on those patterns to win consistently.

It was a fun and challenging AI project that helped me improve my skills in pattern recognition and algorithm design. The average accuracy is around 75%, but the bot struggles against truly random moves โ€” which makes sense!

If youโ€™re interested in simple AI projects or want to see how pattern prediction can be applied in games, check out my code here: https://github.com/prajwal09m/RPS-Pattern-Predictor

Feel free to try it out and share your feedback!

Thanks for the support! ๐Ÿ™Œ

Top comments (0)