A really simple idea occurred to me. Just discard the whole time. I
know it's pretty silly but against other AI's it might work. Against a
human not terribly challenging but you do have to score more than 0.
discard_player.rb:
class DiscardPlayer < Player
def initialize
@data = ""
super
end
def show( game_data )
@data << game_data
end
def move
if @data.include?("Draw from?")
"n"
else
if @data =~ /Hand: (.+?)\s*$/
"d#{$1.split.first.sub(/nv/,"")}"
end
end
ensure
@data = ""
end
end