{% extends "global/Page.html" %} {% block content %}

Balloon Analogue Risk Task

You have a balloon. You can pump it up by clicking the pump button. Every time you pump, there is a chance the balloon will explode. If it explodes, you will earn a small amount of money. But if you don't explode the balloon, you will earn a larger amount of money. The more you pump, the greater the chance of explosion, and the smaller your payout will be if you don't explode the balloon.

{% csrf_token %} {{ form.as_p }}
{% if player.exploded %}

The balloon exploded! You earned {{ player.payoff }}.