{% extends 'otree/WaitPage.html' %} {% load otree %} {% block title %}
Cap and Trade!
{% endblock %} {% block content %}

Your company needs enough emission permits to keep operating {% if player.round_number != Constants.num_rounds %} the next {{ group.l }} days! {%else%} tomorrow! {% endif%}

Emissions equal the square of your production level, which ranges between 1 and 12 units.

Currently, you have {{ player.permits }} out of {{ Constants.cap }} permits. So, you can produce {{ player.production }} units.

{% if player.role == 'Buyer' %}

However, you can purchase extra permits from another company and expand production! Notice your profit equals your production level MINUS the cost you incur for purchasing permits.

{% else %}

However, you can sell some permits to another company and make extra money!. Notice your profit equals your production level PLUS the revenuws from selling permits.

You asked ${{ group.p }} for {{ group.q }} permits. Please, wait the reply of the other company.

{% endif %}
{% endblock %}