{% if subsession.round_number <= session.config.num_of_test_rounds %}
This is a test round!
{% endif %}
{% if subsession.round_number <= session.config.num_of_test_rounds %}

Test round {{ subsession.round_number }} of {{ session.config.num_of_test_rounds }}

{% else %}

Round {{ round_number }} of {{ num_of_rounds }}: You are a {{ participant.vars.role }}.

{% endif %}

Bargaining begins in seconds
{% if participant.vars.role == 'seller' %}

Choose your proposed quantity between {{ minQuantity }} and {{ maxQuantity }}:

{% else %}

Choose your proposed quantity between {{ minQuantity }} and {{ maxQuantity }}:

{% endif %}  

Choose your proposed number of tokens between {{ minValue }} and {{ maxValue }}:

 
      {% if participant.vars.role == 'buyer' %}   {% else %} {% endif %} {% if participant.vars.role == 'seller' %} {% else %} {% endif %} {% if participant.vars.role == 'buyer' %} {% else %} {% endif %} {% if participant.vars.role == 'seller' %} {% else %} {% endif %}
The total value of this many units to you is: The total value of this many units to the buyer is:
The total cost of this many units to you is: The total cost of this many units to the seller is:
Your payoff would be: The buyer's payoff would be:
Your payoff would be: The seller's payoff would be:
{% if participant.vars.role == 'buyer' %} {% else %} {% endif %}
You successfully traded.

Current proposals

Buyer Proposals Seller Proposals
${ row.r2.quantity } units for ${ row.r2.value }; buyer gets ${ row.r2.buyer_payoff }, seller gets ${ row.r2.seller_payoff } you ${ row.r1.quantity } units for ${ row.r1.value }; buyer gets ${ row.r1.buyer_payoff }, seller gets ${ row.r1.seller_payoff } you