{% extends "global/Page.html" %} {% load otree static %} {% block title %} Payment Information {% endblock %} {% block content %}

First part:

{% if i_lottery == 1 %} You paid ${{ i_price }} for playing the lottery. This sum will be deducted from your completion payment.
The randomly drawn number is {{ i_digit }} which {% if i_digit <= 4 %} is lower or equal to 4, so you've won the $2.00 prize of the lottery. {% else %} is larger than 4, so you do not get the prize. {% endif %} {% else %} You didn't pay for the lottery ticket. {% endif %}


Second part:

The average of the three numbers was {{ s_average }}.

{% if s_payment == 1 %} You will be paid by the first bonus opportunity: the average of the three numbers.

{% if group.r_aux_g5 == 1 and player.id_in_group == 1 %} You get the prize when the average is smaller than 46. {% if s_average < 46 %} You get $2.00, because it is smaller than 46. {% else %} You get $0.00, because it isn't smaller than 46. {% endif %}
The other players get the prize when the average is larger than 54. {% if s_average > 54 %} They get $2.00 each, because it is larger than 54. {% else %} They get $0.00, because it isn't larger than 54. {% endif %}
{% elif group.r_aux_g5 == 1 and player.id_in_group > 1 %} You and another participant get the prize when the average is larger than 54. {% if s_average > 54 %} You get $2.00 each, because it is larger than 54. {% else %} You get $0.00, because it isn't larger than 54. {% endif %}
There is one player that get the prize when the average is smaller than 46. {% if s_average < 46 %} He/she gets $2.00, because it is smaller than 46. {% else %} he/she gets $0.00, because it isn't smaller than 46. {% endif %}
{% else %} You get the prize when the average is larger than 54. {% if s_average > 54 %} You get $2.00, because it is larger than 54. The other two players algo get $2.00 each. {% else %} You get $0.00, because it isn't larger than 54. {% endif %}
{% endif %} {% else %} You will be paid by the second bonus opportunity: the guess of the average.
{% if group.r_aux_g3 != 1 %} Your guess is {{ s_second_private }}. {% if s_second_private >= low and s_second_private <= high %} It is within 3 units of the average. You get $2.00. {% else %} It isn't within 3 units of the average. You get $0.00 {% endif %}
{% else %} The guess selected to be paid in your team is {{ s_chosen }}. {% if s_chosen >= low and s_chosen <= high %} It is within 3 units of the average. You get $2.00 (the other two players algo get $2.00). {% else %} It isn't within 3 units of the average. You get $0.00 {% endif %}
{% endif %} {% endif %}
{% if s_price_info == 0 %} You did not paid for seeing another player's guess. {% else %} You paid ${{ s_price_info }} for seeing another participant's public guess. This sum will be deducted from your completion payment. {% endif %}


Third part:

{% if role == 'A' %} Your randomly assigned role is {{ role }}. You transferred {% if t_transfer > 9 %} $0.{{ t_transfer }} {% else %} $0.0{{ t_transfer }} {% endif %} to the two players in Role B. You get the remaining {% if t_payment > 9 %} $0.{{ t_payment }} {% else %} $0.0{{ t_payment }} {% endif %}
{% elif role == 'B' %} Your randomly assigned role is B. You get a transfer of {% if t_payment > 9 %} $0.{{ t_payment }} {% else %} $0.0{{ t_payment }} {% endif %} from the money sent by the player in Role A. {% elif role == 'C' %} Your randomly assigned role is B. You get a transfer of {% if t_payment > 9 %} $0.{{ t_payment }} {% else %} $0.0{{ t_payment }} {% endif %} from the money sent by the player in Role A. {% endif %}


Check questions:

{% if player.qs_checks == 6 %} You get $0.5 for answering all the check questions correctly. {% elif player.qs_checks == 4 or player.qs_checks == 5 %} You get $0.20 for answering more than two-thirds of the check questions correctly. {% else %} You didn't answer more than two-thirds of the check questions correctly. {% endif %}


YOUR FINAL PAYMENT IS {{ total }}

Please click “Next” to get your completion code.

{% next_button %} {% endblock %}