{% extends "HW2_Julius_StagHunt/Page.html" %} {% load otree static %} {% block title %} Results of Round {{ subsession.round_number }} {% endblock %} {% block content %}

This round

You chose {{ player.decision }}.

You received a payoff of {{ player.payoff | c}}.

The other participant chose {{ player.get_partner.decision }}.

They received a payoff of {{ player.get_partner.payoff }}.

Your total payoff so far is {{ player.participant.payoff }}.

{% if player.decision == "A" and player.get_partner.decision == "A" %} {% else %} {% endif %} {% if subsession.round_number > 1 %}

History of previous rounds

{% for p in player_in_previous_rounds %} {% endfor %}
Round Your Choice Your Payoff Their Choice Their Payoff
{{ p.round_number }} {{ p.decision }} {{ p.payoff }} {{ p.get_partner.decision }} {{ p.get_partner.payoff }}
{% endif %} {% next_button %} {% endblock %}