The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

About time for the second UF programming contest? by Arachnid2005-03-10 16:44:43
  How about the Iterated Prisoner's Dilemma? by archnerd2005-03-10 19:25:41
    Wasn't there an optimal solution for that? by Arachnid2005-03-10 20:28:18
      Sort of by Plasma 2005-03-10 21:49:37
Tit for tat is the optimal solution for the Prisoner's Dilemma under normal conditions, meaning it would indeed be a waste to hold a programming competition for it. However, Tit for tat did once lose a competition to a "master/slave" combination.

One competition allowed multiple entries by the one team, so one group came up with the idea of having a "master" program and a horde of "slave" programs. Whenever either the master or slave started a match, they'd perform a more or less random pre-arranged "signature" of defections (eg defect-defect-coop-defect-coop or something like that), in order to identify each other. If the slaves detect that they are playing against the "master" program, they start always cooperating, while the "master" always defects, meaning it wins HUGE. On the other hand, if a slave detects it is playing against someone other than the "master" program, it starts always defecting, forcing the opposing program into taking a non-optimal path of either losing big time, or defecting also (still a fairly big loss compared to ideal).

So by having this mob of slave programs sabotaging all "normal" programs playing the game by always defecting, and massively boosting the one "master" program by always cooperating with it, the "master" program was able to achieve a far higher average score in the end than tit for tat. So while to be fair the programs there were gaming the system as much as they were the actual prisoner's dilemma, tit for tat is not always undefeatable.
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)