{% load otree %}

In the following task, you will see a {{ num_rows }}x{{ num_cols }}-matrix containing {{ num_boxes }} boxes on your screen.


As soon as you start the task by hitting the 'Start' button, a box is collected every second. Once collected, the box is marked by a tick symbol. For each box collected you earn {{ box_value }}.


Behind one of the boxes hides a bomb that destroys everything that has been collected. The remaining {{ num_nobomb }} boxes are worth {{ box_value }} each. You do not know where the bomb is located. You only know that the bomb can be in any place with equal probability.

Your task is to choose when to stop the collecting process. You do so by hitting 'Stop' at any time. If you collect the box where the bomb is located, the bomb will explode and you will earn zero. If you stop before collecting the bomb, you gain the amount accumulated that far.


At the end of the task boxes are toggled by hitting the 'Solve' button. A dollar sign or a fire symbol (for the bomb) will be shown on each of your collected boxes.


The game repeats {{ num_rounds }} times, every time with a new randomly-generated way of collecting boxes.

{% if Constants.random_payoff %} For your payment in this task, one of the {{ num_rounds }} rounds will be chosen at random. {% else %} For your payment in this task, the sum of the payoffs in all {{ num_rounds}} will be considered. {% endif %}