{% 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 }}.

The possible payments for the second part are:
  1: average, 2: initial private guess, 3 public guess, 4: updated private guess

The randomly chosen decision to pay is the number {{ s_payment }}. {% if s_payment == 1 %} You will be paid by the first bonus opportunity: the average of the three numbers.

{% if group.r_aux_g1 == 1 %} 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. {% else %} You get $0.00, because it isn't larger than 54. {% endif %}
{% elif group.r_aux_g1 == 2 %} 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 %}
{% else %} You get the prize when the average is an even number. {% if s_even == 1 %} You get $2.00, because it is even. {% else %} you get $0.00, because it is odd. {% endif %}
{% endif %} {% elif s_payment == 2 %} You will be paid the initial private guess.

Your initial private guess was {{ s_first_private }}. {% if s_first_private >= low and s_first_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 %}
{% elif s_payment == 3 %} You will be paid the public guess.
Your public guess was {{ s_first_public }}. {% if s_first_public >= low and s_first_public <= 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 %} You will be paid the updated private guess.
Your updated private guess was {{ 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 %}
{% endif %}
{% if s_price_info == 0 %} You did not paid for seeing another player's public 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 $0.{{ t_transfer }} to the two players in Role B. You get the remaining $0.{{ t_payment }}
{% elif role == 'B' %} Your randomly assigned role is B. You get a transfer of $0.{{ t_payment }} from the money sent by the player in Role A. {% elif role == 'C' %} Your randomly assigned role is B. You get a transfer of $0.{{ t_payment }} 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 %}