prisoner s life
play

Prisoners Life Chris Carpenter mordocai@mordocai.net August 7, - PowerPoint PPT Presentation

Prisoners Life Chris Carpenter mordocai@mordocai.net August 7, 2014 Chris Carpenter (mordocai@mordocai.net) Prisoners Life August 7, 2014 1 / 6 What is Prisoners Life? Prisoners Life is a mash-up of Prisoners Dilemma and


  1. Prisoner’s Life Chris Carpenter mordocai@mordocai.net August 7, 2014 Chris Carpenter (mordocai@mordocai.net) Prisoner’s Life August 7, 2014 1 / 6

  2. What is Prisoner’s Life? Prisoner’s Life is a mash-up of Prisoner’s Dilemma and Conway’s Game of Life. This was presented previously at Lambda Lounge, by Mario Aquino and Jessica Kerr. You can see the code for this project at: Github You can see these slides at: Github Chris Carpenter (mordocai@mordocai.net) Prisoner’s Life August 7, 2014 2 / 6

  3. Rules of Prisoner’s Life If no surrounding cell has cooperated with you this turn, you die. If your score is greater than the set reproduce score (currently 20 in my examples) then you reproduce. You use your strategy to interact with all surrounding cells. The result of this strategy compared to your neighbors’ strategy determines how much score increases. Chris Carpenter (mordocai@mordocai.net) Prisoner’s Life August 7, 2014 3 / 6

  4. Prisoner’s Life Strategies A strategy either returns 0(cooperation) or 1(defection). The strategy can only make a decision based on previous moves of the opponent’s strategy. Score increases are determined by these results. Chris Carpenter (mordocai@mordocai.net) Prisoner’s Life August 7, 2014 4 / 6

  5. Prisoner’s Life Strategies If you cooperate and your opponent defects, you get 1 point while your opponent gets 5 points. If you defect while you opponent cooperates, you get 5 points while your opponent gets 1 point. If you and your opponent both cooperate, you both get 3 points. If you and your opponent both defect, you both get 1 point. Chris Carpenter (mordocai@mordocai.net) Prisoner’s Life August 7, 2014 5 / 6

  6. Default Strategies Chump strategy(*): Always cooperate. Mean strategy(!): Always defect. Tit-for-tat-strategy(&): Do whatever your opponent did last. Grudge strategy(ˆ): Defect if your opponent has ever defected. Chris Carpenter (mordocai@mordocai.net) Prisoner’s Life August 7, 2014 6 / 6

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend