Here’s a fun little project I’ve worked on. It’s a NXT robot that plays rock-paper-scissors intelligently, exploiting patterns in the opponent’s throws to its advantage. The effect is more noticeable after 50 throws from personal experience. See it in action on Youtube:

http://youtu.be/BXDYOqjQFwI

The source code is on Pastebin for whoever is interested:

http://pastebin.com/Y0RrHVm7

Advertisements