{% extends "global/Page.html" %} {% load otree %} {% block title %} Results {% endblock %} {% block content %} {% if player.id_in_group == 1 %}

You were initially endowed with {{ Constants.endowment }}. You chose to send to player B: {{ group.sent_amount }}. They were tripled, so player B received: {{ tripled_amount }}. And Player B returned: {{ group.sent_back_amount }}.

Thus you now have: ({{ Constants.endowment }}) - ({{ group.sent_amount }}) + ({{ group.sent_back_amount }}) = {{ player.payoff }}

At the end, we have: {% for i in player.get_others_in_group %}

{% endfor %}
Round No. Your payoff Player B's payoff
{{ i.subsession.round_number }} {{ player.payoff }} {{ i.payoff }}
{% else %}

You were initially endowed with {{ Constants.endowment }}. Player A sent you {{ group.sent_amount }}. They were tripled so you received: {{ tripled_amount }}. You chose to return {{ group.sent_back_amount }}.

Thus you now have: ({{ Constants.endowment }}) + ({{ tripled_amount }}) - ({{ group.sent_back_amount }}) = {{ player.payoff }}

At the end, we have: {% for i in player.get_others_in_group %}

{% endfor %}
Round No. Your payoff Player A's payoff
{{ i.subsession.round_number }} {{ player.payoff }} {{ i.payoff }}
{% endif %}

{% next_button %}

{% endblock %}