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

You sent the Receiver {{ group.sent_amount }}. The Receiver returned {{ group.sent_back_amount }}.

You were given {{ Constants.TG_endowment }}. You sent {{ group.sent_amount }} to the Receiver. The Receiver received {{ tripled_amount }} and returned {{ group.sent_back_amount }}.

Your payoff in this game is {{ Constants.TG_endowment }} - ({{ group.sent_amount }}) + ({{ group.sent_back_amount }}) = ({{ player.payoff }}).

{% elif player.role == 'Receiver' %}

The Sender sent you {{ group.sent_amount }}. They were tripled so you received {{ tripled_amount }}. You returned {{ group.sent_back_amount }}.

Your payoff in this game is ({{ tripled_amount }}) - ({{ group.sent_back_amount }}) = ({{ player.payoff }}).

{% endif %}

{% next_button %}

{% endblock %}