{% extends "global/Page.html" %} {% load otree %} {% block title %} Results {% endblock %} {% block content %} {% if player.id_in_group == 1 and subsession.round_number < 5 %}
The secret number is {{group.state}}. You chose to send participant B the message {{ group.message }}. Participant B chose {{ group.action }}.
Your payoff is therefore: 110 - 10 times |{{group.state}} - {{group.action}}|^1.4 = {{ player.payoff }}.
{% elif player.id_in_group == 1 and subsession.round_number > 4 %}The secret number is {{group.state}}. You chose to send participant B the message {{ group.message }}. Participant B chose {{ group.action }}.
Your payoff is therefore: 110 - 10 times |1.2 + {{group.state}} - {{group.action}}|^1.4 = {{ player.payoff }}.
{% else %}The secret number is {{group.state}}. Participant A sent you the message {{ group.message }}. You chose {{ group.action }}.
Your payoff is therefore: 110 - 10 times |{{group.state}} - {{group.action}}|^1.4 = {{ player.payoff }}.
{% endif %}{% next_button %}
{% endblock %}