from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) doc = 'This is a survey for players to take after the game.' class Constants(BaseConstants): name_in_url = 'survey' players_per_group = 2 num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): strategy = models.StringField(choices=[['I went to sites with higher rhino distribution.', 'I went to sites with higher rhino distribution.'], ['(As a poacher) I went to sites less likely to be caught by the ranger.', '(As a poacher) I went to sites less likely to be caught by the ranger.'], ['(As a ranger) I went to sites more likely to catch the poacher.', '(As a ranger) I went to sites more likely to catch the poacher.']], label='Which of the following strategy best describes what you did in the game?', widget=widgets.RadioSelect)