{% extends "global/Page_volunteer_dilemma.html" %} {% load otree %} {% block content %} {% block title %}
第{{ subsession.round_number }}回の結果

{% endblock %}

{% if group.total_contribution >= group.threshold %} プロジェクトは成功しました {% else %}プロジェクトは失敗しました {% endif %} (第{{ subsession.round_number }}回)


・{{ group.num_of_group }}人のうち、協力したのは{{ group.total_contribution}}人です
・{{ group.threshold}}人以上の協力で成功なので、プロジェクトは {% if group.total_contribution >= group.threshold %} 成功 {% else %}失敗 {% endif %} です

{% for p in group.get_players %} 参加者{{ p.id_in_group }}:  {% if p.contribution == 1 %} 協力する {% else %} 協力しない {% endif %} {% if p.id_in_group == player.id_in_group %} (あなた) {% endif %}
{% endfor %}


・あなたの利得は以下のとおり{{ player.payoff }}です

プロジェクトからの利得 ー 協力に要する費用 = 今回の利益
    {% if group.total_contribution >= group.threshold %} {{ group.success }} {% else %} {{ group.fail }} {% endif %}      ー      {% if player.contribution == 1 %} {{ group.cost }} {% else %} 0 {% endif %}     =    {{ player.payoff }}


{% next_button %} {% endblock %}