...

View Full Version : Rock-Paper-Scissors Algorithm



Mainframe
12-06-2011, 04:13 AM
I have an assignment to code a java class that plays rock, paper, or scissors. The class can access the history of past gestures played by both itself and its opponent, but nothing else. The class will be played against others in 10,000 matches and the winner will be determined via round robin format. Other than using a greedy algorithm to determine statistically the best choice from prior gestures and basic pattern recognition I have no decent ideas. I'd appreciate any suggestions.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum