Rock-Paper-Scissors: You vs. the Computer
Computers mimic human reasoning by building on simple rules and statistical averages. Test your strategy against the computer in this rock-paper-scissors game illustrating basic artificial intelligence. Choose from two different modes: novice, where the computer learns to play from scratch, and veteran, where the computer pits over 200,000 rounds of previous experience against you.
Rock-Paper-Scissors: You vs. the Computer - NYTimes.com