{% extends "global/Page.html" %} {% load otree %} {% block title %} Stage 2 {% endblock %} {% block content %}

{% if player.option_choice_1 == False %} You chose not to gamble in Stage 1.
You kept the certain amount which was:

${{ player.C}}0

{% endif %} {% if player.option_choice_1 == True %} You chose to gamble in Stage 1.
You gambled between ${{ player.k1_min}}0 and ${{ player.k1_max}}0 and you {% if player.K1 < 0 %} lost:

${{ player.K1 }}0

{% elif player.K1 > 0 %} gained:

${{ player.K1 }}0

{% endif %} Your current payoff is ${{ player.C}}0 + {% if player.K1 < 0 %} ${{ player.K1 }}0 {% elif player.K1 > 0 %} ${{ player.K1 }}0 {% endif %} = ${{ player.w1 }}0 {% endif %}

Your new options are:

Option "Safe":
Do not gamble and end the round.

Option "Gamble":
Enter the lottery to add any amount in between ${{ player.k2_min }}0 and ${{ player.k2_max }}0 and end the round.

Select the Option

{% endblock %}