Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #3101
| From | theglazeb <theglazeb@gmail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Basic prisoner's dilemma? |
| Date | 2011-04-17 22:08 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <3c4ead8c-1841-415f-8bbe-f716ab8f33a9@l14g2000pre.googlegroups.com> (permalink) |
| References | <d97822e4-ee7c-458d-8818-07007fb714e8@k3g2000prl.googlegroups.com> <iogac0$lnc$1@news.albasani.net> <4dabb5e8$0$55571$c30e37c6@exi-reader.telstra.net> |
On Apr 17, 8:54 pm, Esmond Pitt <esmond.p...@bigpond.com> wrote: > On 18/04/2011 1:15 PM, Lew wrote: > > > Tell us more about this contest. Where is it held? Do you have a link? > > What can you win? > > ... and then tell us why we should help *you* rather than try to win it > ourselves. Prisoner's dilemma in fact ;-) Thanks for the messages! This is a sample question from a competition a couple of years ago. Someone passed it to me in my university department passed it to me and suggested I try it out in order to think more about prisoner's dilemma and learn java (I'm still a novice, I'm afraid) I believe it may have been from http://www.prisoners-dilemma.com/competition.html So I am trying to figure out how I could create a tit for tat strategy using an Arraylist. Or even a set of random outcomes based on the history. Any help would be appreciated. The "win" for me in this case is a better understanding of java. You don't need to help if you don't want to, but of course it would be appreciated. If don't want to help, it could be great if you could point in me in the correct direction - how could make it output random DEFECT or COOPERATE? and then following on that, how could I start thinking about a Tit for Tat strategy? Thanks so much!
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Basic prisoner's dilemma? theglazeb <theglazeb@gmail.com> - 2011-04-17 19:51 -0700
Re: Basic prisoner's dilemma? Lew <noone@lewscanon.com> - 2011-04-17 23:15 -0400
Re: Basic prisoner's dilemma? Esmond Pitt <esmond.pitt@bigpond.com> - 2011-04-18 13:54 +1000
Re: Basic prisoner's dilemma? theglazeb <theglazeb@gmail.com> - 2011-04-17 22:08 -0700
Re: Basic prisoner's dilemma? Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-04-17 23:47 -0700
Re: Basic prisoner's dilemma? markspace <-@.> - 2011-04-18 00:14 -0700
Re: Basic prisoner's dilemma? rossum <rossum48@coldmail.com> - 2011-04-18 13:01 +0100
Re: Basic prisoner's dilemma? Bent C Dalager <bcd@pvv.ntnu.no> - 2011-04-18 13:38 +0000
Re: Basic prisoner's dilemma? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2011-04-18 19:22 +0200
Re: Basic prisoner's dilemma? Lew <noone@lewscanon.com> - 2011-04-18 13:34 -0400
Re: Basic prisoner's dilemma? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2011-04-18 21:26 +0200
Re: Basic prisoner's dilemma? Lew <noone@lewscanon.com> - 2011-04-18 16:33 -0400
Re: Basic prisoner's dilemma? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2011-04-18 23:50 +0200
Re: Basic prisoner's dilemma? Lew <noone@lewscanon.com> - 2011-04-18 18:37 -0400
Re: Basic prisoner's dilemma? markspace <-@.> - 2011-04-18 15:51 -0700
Re: Basic prisoner's dilemma? Michael Wojcik <mwojcik@newsguy.com> - 2011-04-19 16:14 -0400
csiph-web