Experiment: Prisoner's dilemma tournament

I'm a Behavioral Economics Master student and I'm currently working on an experiment. We would like to investigate what happens when people are "forced" to play according to some predetermined strategies in the Prioner's Dilemma game. Unfortunately, I'm very new to programming and I'm struggling how to start setting up the app for our experiment.

I'm trying to write down in greatest detail what we have in mind:

Participants in the experiment are divided into 2 groups: one control and one treatment group. Every participant plays 5-rounds of the game, against three bots who follow a certain strategy that is unknown to the participant. The strategies are following: almost-always nice (cooperates in every round, maximum defect options: 4/15 in all 3 rounds), almost-always nasty (defects in every round, maximum cooperating options: 4/15 in all 3 rounds), grudger (cooperates until opponent defects, then follows with defect, if cooperation re-assumes he has the option of "holding the grudge" and keep defecting or cooperating), copycat (starts every game with cooperation then copies the opponent's last move, possible deviation from the strategy 4/15), observer (cooperates in first step and defects in second, then he plays cooperates until cheated, afterward he acts as copycat). The deviations from the strategy are optional, but capped at 4 moves out of the total 15. The three bots play according to a randomly selected strategy. At the beginning of the game (along with the introduction), each participant has to indicate what are they expecting their payoff to be. After every move in the game (so total 15 times) the participant's current score is displayed and he needs to indicate how satisfied he is with his current payoff on 1 to 10 level. At the end of the game, the participant's payoff and the three opponent's payoff are displayed, and the participant has to indicate what he would expect his payoff to be if he was to play the game again. Participants play one 5-move with each of the three bots separately, and the payoff of the bots is calculated as if they played against each other.

Control group:

The participant does not have to follow a strategy, he can decide at each step whether he wants to cooperate or defect.

Treatment group:

After the introduction, the participant has to choose one strategy to follow (strategies are the same as for bots). He can not deviate from this strategy throughout the game, and he is reminded of how much of his deviation options (4 moves per participants in total 15 moves) he has left at the current stage at the game.

I started working on the implementation with oTree/python but I need help with the full implementation of this experiment--either if it is suggestions, pointers, examples or the full code!

All help is greatly appreciated!

Skills: Programming, Python

See more: people\ s preference of brands for their daily needs, ttps www freelancer com t s&utm_expid 294858 400 cg3jqpeuq8sr72n7wxkkow 1&utm_referrer http 3a 2f 2fwww predstavljamo com 2fclan, academic writing skills 1 student's book, axelrod tournament strategies, iterated prisoner's dilemma best strategy, prisoner's dilemma ai, prisoner's dilemma strategies, the evolution of cooperation axelrod, iterated prisoner's dilemma tournament, lesswrong prisoner's dilemma, axelrod python, .net, 22 33 28 4 2016 lucineide https googleweblight com lite_url https m freelancer com &ei fjrqy_uy&lc pt br&s 1&m 160&host www goog, the best offer top lp top2 1 php s 241664539, task 1 you take part in young writers competition you are asked to write a story write your story in about 120 words on answer s, https www freelancer ca job search programming assignments money 1 t s&utmexpid 294858, goldunionmobi com qa index php s 2110q09638&redir 1, freelance bricklayer s 3 &amp 1, script php m e126e80099ce95d3e83aa4ba5bfdfa02 e 3339514721156 s 29 df 1 a 7 rand 2651730 25 scaberta li pasted, script php m e126e80099ce95d3e83aa4ba5bfdfa02 &e 33395147_21156 &s 29 &df 1 &a 7 &rand 2651730 25 scaberta li pasted

About the Employer:
( 0 reviews ) Netherlands

Project ID: #15819328

2 freelancers are bidding on average $38 for this job


Let’s chat and discuss about price and work. 12 years experience in same filed you will get 100% correct work. No need to pay upfront money first check work quality and if you satisfied then pay. Relevant Skills and E More

$20 USD in 1 day
(0 Reviews)

Hi, I have done something similar, you must have heard of Axelrods Tournament. I had used following players Tit For tat, Reverse TFT, TFTT, Grudger etc methods. I can really help you with this. Relevant Skills and Exp More

$55 USD in 2 days
(0 Reviews)