from otree.api import Currency as c, currency_range, SubmissionMustFail, Submission, expect from . import pages from ._builtin import Bot from .models import Constants class PlayerBot(Bot): def play_round(self): yield pages.Instructions1 yield pages.Instructions2 yield pages.Instructions3 yield pages.Instructions4 yield pages.Instructions5 yield pages.Instructions6 yield pages.Instructions7 yield pages.Instructions8, dict(PQ_1=10, PQ_2=20) yield pages.Instructions9 yield pages.Instructions10 yield pages.Instructions11 # if self.player.condition == "Assigned": yield pages.Instructions12Ass yield pages.Instructions13 # if self.player.condition == "Assigned": yield pages.Instructions14Ass # if self.player.condition == "Free": yield pages.Instructions15 yield pages.Instructions16 yield pages.Instructions17 yield pages.Instructions15a yield pages.Instructions16a yield pages.Instructions17a yield pages.Instructions18, dict(PQ_3="Correct", PQ_4="Correct", PQ_5="Correct", PQ_6="Correct") yield pages.Instructions19, dict(PQ_7="17", PQ_8="13", PQ_9="30", PQ_10="65", PQ_11="15", PQ_12="80", PQ_13="30") yield pages.Attention_Check_1_Page, dict(Attention_Check_1="Correct") yield pages.TreatmentPage