{% extends "global/Page.html" %} {% load otree static %} {% block title %} Results of Game {{ game }} {% endblock %} {% block content %} {% if group.game_outcome == 0 %}
Both your opponent and you decided to pass in all rounds
{% if player.id_in_group == 1 %}

Since you are RED player, your payoff is: {{ large_pile_pass }}

Your opponent's payoff is: {{ small_pile_pass }}

{% else %}

Since you are BLUE player, your payoff is: {{ small_pile_pass }}

Your opponent's payoff is: {{ large_pile_pass }}

{% endif %}
{% elif group.game_outcome > 0 and group.game_outcome == player.id_in_group %}
You decided to take the large pile at node {{last_node}}

Your payoff is: {{ large_pile }}

Your opponent's payoff is: {{ small_pile }}

{% else %}
Your opponent decided to take the large pile at node {{last_node}}

Your payoff is: {{ small_pile }}

Your opponent's payoff is: {{ large_pile }}

{% endif %} {% if game < C.NUM_GAMES %} {% else %} {% endif %} {% endblock %}