As the world continues its love affair with Watson. the Jeopardy champion computer, The New York Times creates a simple online game that demonstrates how an artificial intelligence can outsmart a human at a slightly simpler game.
Rock, Paper, Scissors has been played in some form or another since China's Han Dynasty (206 BCE – 220 CE), and that's only recorded history. I'd guess that ever since early man figured out how to make symbols with their hands he's been arbitrarily deciding one is better than the other and using them to solve disputes. It may have just been Rock Vs. Other Rock, but it got the job done.
While the element of chance factors into the game's outcome, there is a key strategy successfully playing Rock, Paper, Scissors: Know thy opponent.
Studying how an opponent plays is an integral part of the game, allowing a player to recognize patterns of play that give them an edge. Is the opponent simply mimicking the player's choices? Do they tend to select the opposing choice to their previous selection? Is there such a thing as playing Rock, Paper, Scissors in a truly random fashion?
That's now what The New York Times Rock, Paper, Scissors computer seems to believe. It studies your moves as you play, identifying patters in your selection and using them to predict what you'll throw at it next.
The game presents two different AI computers to play against. One is a novice computer, learning the game for the first time. The second uses a database of more than 200,000 moves to do battle.
I played both. Let's see how I did.
Versus the Novice Computer
The novice computer was only just learning the relationships between rock, paper, and scissors. Once it figured out the relationship between the three, it started looking for patterns in my play. It couldn't find any series of four throws that matched my last four, nor three throws. I had kept things random enough that the only pattern that occurred was one of two throws, and it only happened once.
Still, the computer came pretty close to beating me, only one win short of a tie. That's pretty smart.
Versus the Expert Computer
The veteran computer beat me soundly, drawing on a database of more than 200,000 moves to help predict what I would throw. It went deep into the sequences I was putting down, calculating the odds that the fifth throw of five would fall in line with the fifth throws of five from all of those previous rounds.
In short, it kicked my ass.
That, or I just suck at the game. Hit up the link below to try your hand.
Rock-Paper-Scissors: You vs. the Computer [The New York Times]