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

You chose to send {{ group.sent_amount }} to participant B. Participant B returned {{ group.sent_back_amount }}.

Thus, your pay-out for this round is:

{{ Constants.endowment }} - {{ group.sent_amount }} + {{ group.sent_back_amount }} = {{ player.payoff }}.

{% else %}

Participant A sent you {{ group.sent_amount }}. They were tripled so you received {{ tripled_amount }}.
You chose to return {{ group.sent_back_amount }}.

Thus, your pay-out for this round is:

{{ tripled_amount }} - {{ group.sent_back_amount }} = {{ player.payoff }}.

{% endif %}

{% next_button %}

{% endblock %}