{% extends "global/Base.html" %} {% load staticfiles otree_tags %} {% block title %} Results {% endblock %} {% block content %}
{% if player.id_in_group == 1 %}
{% if player.HighLow == 1 %}
You were given {{ Constants.endowment }}, out of which you offered {{ group.Group_Account_offered }} to the group account,
{{ group.High_Account_offered }} to yourself, and {{ group.Low_Account_offered }} to the other player.
{% else %}
You were given {{ Constants.endowment }}, out of which you offered {{ group.Group_Account_offered }} to the group account,
{{ group.Low_Account_offered }} to yourself, and {{ group.High_Account_offered }} to the other player.
{% endif %}
{% if group.offer_accepted %}
Your offer was accepted.
{% else %}
Your offer was rejected.
{% endif %}
{% else %}
{% if player.HighLow == 1 %}
The other player offered {{ group.Group_Account_offered }} to the group account,
{{ group.High_Account_offered }} to you, and {{ group.Low_Account_offered }} to themselves.
{% else %}
The other player offered {{ group.Group_Account_offered }} to the group account,
{{ group.Low_Account_offered }} to you, and {{ group.High_Account_offered }} to themselves.
{% endif %}
{% if group.offer_accepted %}
You accepted this offer.
{% else %}
You rejected this offer.
{% if mandatory_treatment %}
Your payoff is therefore {{ player.payoff }}.
The random draw was a {{ numberroll }}.
{% if numberroll == 5 %}The sequence has ended.
{% else %}The sequence will continue.
{% endif %}