On Jan 23, 2005, at 9:41 AM, Bill Atkins wrote: > My 12-line solution has so far won 100% of the time against every > player I've been able to come up with, even players whose moves are > completely random. Here it is: My own was pretty much identical. ;) James Edward Gray II #!/usr/biin/env ruby class JEGCheater < Player def initialize( opponent ) Object.const_get(opponent).class_eval do alias_method :old_choose, :choose def choose :paper end end end def choose :scissors end end