{% load otree %}
You have a capital of 10 ECUs, and you must decide the amount of your investment in the project described below. You can invest any amount between 0 ECUs and 10 ECUs (in whole numbers).
This project earns 3 times the amount invested in the event of success and 0 in the event of failure. Success and failure have the same probability of happening: 1 in 2 chance.
Example 1: You decide to invest 4 ECUs in the project. The project is a success. Your project gain is of 3 x 4 ECUs = 12 ECUs. Your gain from this task is therefore 6 ECUs kept + 12 ECUs from the project = 18 ECUs.
Example 2: You decide to invest 4 ECUs in the project. The project is a failure. Your project gain is of 0 x 4 ECUs = 0 ECUs. Your gain from this game is therefore 6 ECUs kept + 0 ECUs from the project = 6 ECUs.