class Lexicon: instructions = "Instructions" instructions_wait = "Please wait, we are waiting for everyone to finish reading the instructions." part = "Part" test = "" periode = "Period" sur = "out of" decision = "Decision" temps_ecoule = "Time elapsed" prise_decision = "Please make your decision" fermer = "Close" next_button = "Next" veuillez_patienter_title = "Please wait ..." veuillez_patienter_txt = "We are waiting for the other participants." resultats = "Results" cliquer_suivant = "Please click the Next button" simulations_title = "Simulations from the previous period" end_part_title = "End of the part" # PRESENTATION ------------------------------------------------------------ pres_title = "Presentation of the experiment" pres_p1 = ("You are about to start your game, enjoy!") # INSTRUCTIONS ----------------------------------------------------------------------------------------------------- benefice = "Benefit" # UNDERSTANDING ---------------------------------------------------------- understanding_title = "Comprehension Questionnaire" question = "Question" understanding_results_title = "Comprehension Questionnaire - Results" understanding_results_txt = "Below are the answers to the questions, along with the explanation." reponse = "You answered" bonne_reponse = "The correct answer was" explication = "Explanation" # INFORMATION ------------------------------------------------------------ information_title = "Information" # DECISION ---------------------------------------------------------------- btn_simulation = "Simulations from the previous period" groupe_A = "You are a member of Group A." historique = "History / Simulator" chat_title = "Discussion with other group members" chat_explication = ("The discussion is open, but it is forbidden to communicate information that allows you to " "identify yourself or locate yourself in the room, and of course, to insult or express malicious " "comments.") # ANNONCE PARTIE 2 -------------------------------------------------------- partie_2_annonce_title = "End of Part" fin_partie_2 = "End of Part 2" @staticmethod def get_newPhase_txt(part, num_rounds): if part == 0: return f"The part will begin, it consists of {num_rounds} périods." else: return f"The part will begin, it consists of {num_rounds} périods." def get_txt_result(player): return (f"You extracted {player.extraction} tokens, and your group extracted " f"{player.group.total_extraction} tokens in total. Your gain for the period is " f"{player.payoff_ecu:.2f} ECU.") @staticmethod def get_txt_final(payoff_ecu_cumul, payoff_cumul): return f"You accumulated {payoff_ecu_cumul:.2f} ECU." @staticmethod def get_paid_part(paid_part): return f"C'est la partie {paid_part} qui a été tirée au sort pour votre rémunération."