{% extends "global/Page_volunteer_dilemma.html" %} {% load otree %} {% block title %}
協力しますか? (第{{ subsession.round_number }}回、参加者{{ group.num_of_group }}人)
{% endblock %} {% block content %} ・「協力」を選んだ人は{{ group.cost }}のコストを支払います
・「成功」すれば全員が{{ coop_success }}の利得、「失敗」すれば{{ group.fail }}の利得を得ます。

・あなたを含めた{{ group.num_of_group }}人のうち、{{ group.threshold }}人以上が「協力」すれば「成功」
{{ if player.group.is_sequential != 0}} {{ if how_many_more <= 0}} ・すでに成功が確定しています。

{{ else }} あと{{ how_many_more }}人が協力すれば成功
{{ endif }} {{ endif }}
① あなたが協力した場合の利得
        あなた以外の協力者数
{{ if group.num_of_group != 2 and threshold_minus2 >= 0}} {{ endif }} {{ if group.num_of_group != 2}} {{ endif }} {{ if group.num_of_group != 2}} {{ endif }} {{ if group.num_of_group != 2}} {{ endif }}
{{threshold_minus2}}人{{ if group.num_of_group != 3 }}以下{{ endif }}{{threshold_minus1}}人 {{group.threshold}}人{{ if group.num_of_group > group.threshold }}以上{{ endif }}
あなた{{coop_fail_minus}}{{coop_success}} {{coop_success}}
協力した他者{{coop_fail_minus}}{{coop_success}} {{coop_success}}
しない他者{{group.fail}}{{group.success}} {{group.success}}


② あなたが協力しない場合の利得
        あなた以外の協力者数
{{ if group.num_of_group != 2 and threshold_minus2 >= 0}} {{ endif }} {{ if group.num_of_group != 2}} {{endif}} {{ if group.num_of_group != 2}} {{endif}} {{ if group.num_of_group != 2}} {{endif}}
{{threshold_minus2}}人{{ if group.num_of_group != 3 }}以下{{ endif }}{{threshold_minus1}}人 {{group.threshold}}人{{ if group.num_of_group > group.threshold }}以上{{ endif }}
あなた{{group.fail}}{{group.fail}} {{group.success}}
協力した他者{{coop_fail_minus}}{{coop_fail_minus}} {{coop_success}}
しない他者{{group.fail}}{{group.fail}} {{group.success}}


{{if player.group.is_sequential != 0}}
{{ for p in group.get_players }}  参加者{{ p.id_in_group }}:  {{ if p.id_in_group < count_cont }} {{ if p.contribution == 1 }} 協力する {{ elif p.contribution == 0 }} 協力しない {{ else }} {{ endif }} {{ elif p.id_in_group == count_cont }} 選択中 {{ else }} 未選択 {{ endif }} {{ if p.id_in_group == player.id_in_group }} (あなた) {{ endif }}
{{ endfor }}
{{ endif }}

・協力しますか?(残り{{ timer_text }}

            {% endblock %}