{% extends "global/Base.html" %} {% load staticfiles otree %} {% load i18n %} {# ****************************************************************************************************************** #} {# *** STYLES *** #} {# ****************************************************************************************************************** #} {% block styles %} {% endblock %} {# ****************************************************************************************************************** #} {# *** TITLE *** #} {# ****************************************************************************************************************** #} {% block title %} {% trans "Results" %} {% endblock %} {# ****************************************************************************************************************** #} {# *** CONTENT *** #} {# ****************************************************************************************************************** #} {% block content %} {% if Constants.num_rounds == 1 %}
{% blocktrans trimmed %} You chose to collect {{ boxes_collected }} out of {{ boxes_total }} boxes. {% endblocktrans %}
{% blocktrans trimmed %} The bomb was hidden behind the box in row {{ bomb_row }}, column {{ bomb_col }}. {% endblocktrans %}

{% if bomb %} {% blocktrans trimmed %} The bomb was among your {{ boxes_collected }} collected boxes.
Accordingly, all your earnings in this task were destroyed and your payoff amounts to {{ payoff }}. {% endblocktrans %} {% else %} {% blocktrans trimmed %} Your collected boxes did not contain the bomb.
Thus, you receive {{ box_value }} for each of the {{ boxes_collected }} boxes you collected such that your payoff from this task amounts to {{ payoff }}. {% endblocktrans %} {% endif %}
{% else %}
{% blocktrans trimmed with num_rounds=Constants.num_rounds %} The table below summarizes the results of your decisions in the {{ num_rounds }} rounds played. {% endblocktrans %}
{% endif %} {% if Constants.num_rounds > 1 %}
{% trans "Round History" %}
{% for p in player_in_all_rounds %} {% endfor %}
{% trans "Round No." %} {% trans "No. of Boxes Collected" %} {% trans "Bomb Collected" %} {% trans "Round Payoff" %}
{{ p.subsession.round_number }} {{ p.boxes_collected }} {% if p.bomb %} {% trans "Yes" %} {% else %} {% trans "No" %} {% endif %} {{ p.round_result }}
{% if Constants.random_payoff %} {% blocktrans trimmed %} For your payment, round number {{ round_to_pay }} was randomly chosen.
Thus, your final payoff in this task amounts to {{ total_payoff }}. {% endblocktrans %} {% else %} {% blocktrans trimmed %} Your final payoff is determined by the sum of all payoffs per round such that you final payoff in this task amounts to {{ total_payoff }}. {% endblocktrans %} {% endif %}
{% endif %}
{% next_button %} {% endblock %}