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

You sent Participant B {{ group.sent_amount }}. Participant B returned {{ group.sent_back_amount }}. Your payoff in round 2 is {{ player.payoff }}

{% else %}

Participant A sent you {{ group.sent_amount }}. You returned {{ group.sent_back_amount }}. Your payoff in round 2 is {{ player.payoff }}

{% endif %}

{# Therefore, your total payoff is {{ player.payoff }}.#}

{% next_button %}
Round Participant A Participant B
{{ 1 }} {{ player1_round1 }} {{ player2_round1 }}
{{ 2 }} {{ player1_round2 }} {{ player2_round2 }}
{% endblock %}