Skip to content

Commit

Permalink
Make it explicit which role players are in the tuorials
Browse files Browse the repository at this point in the history
  • Loading branch information
stanmart committed Apr 29, 2024
1 parent 6344898 commit 3a5c638
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions introduction/Coalitions.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ <h4> Accepting proposals </h4>
<h5> Try it yourself </h5>

<div>
<p>As an illustration, suppose you are <span style="color: #056fb7; font-weight: bold;">Player {{player_name}}</span><div class=""></div></p>
<p>Please perform the following tasks:</p>
<ul>
<li id="task-submit-preferred">Submit a preferred proposal <span class="checkmark" style="visibility: hidden;"></span></li>
Expand Down
1 change: 1 addition & 0 deletions introduction/Proposal.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ <h4> Past proposals </h4>
<h4> Try it yourself </h4>
<p>
<div>
<p>As an illustration, suppose you are <span style="color: #056fb7; font-weight: bold;">Player {{player_name}}</span> (the proposal options are the same no matter the role). </p>
<p> To become more familiar with the interface, we ask you to complete the following small exercise: </p>
<p>
For each of the criteria below, make a proposal that satisfies it.
Expand Down
2 changes: 2 additions & 0 deletions introduction/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def vars_for_template(player: Player):
grand_coalition_value=list(player.session.config["prod_fct"].values())[-1],
last_player_is_dummy=len(player.session.config["prod_fct"])
== 2, # hardcoded group size
player_name=player.session.config["player_names"]["P1"],
**player.session.config["player_names"],
)

Expand All @@ -72,6 +73,7 @@ def vars_for_template(player: Player):
return dict(
last_player_is_dummy=len(player.session.config["prod_fct"])
== 2, # hardcoded group size
player_name=player.session.config["player_names"]["P1"],
**player.session.config["player_names"],
)

Expand Down

0 comments on commit 3a5c638

Please sign in to comment.