Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Iterated prisoner's dilemma

by blakem (Monsignor)
on Jul 30, 2002 at 20:32 UTC ( [id://186356]=note: print w/replies, xml ) Need Help??


in reply to Iterated prisoner's dilemma

How does this guy fare?
sub player_cheater { return 'password' if $_[0] eq 'secret'; my $password = ''; eval {$password = $player1->('secret')}; if ($password eq 'password') { $total_score1 += 50; } else { $total_score2 += 50; } return "T"; }

-Blake

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://186356]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found