{% extends "global/Page.html" %} {% load otree static %} {% block title %} Pac-Man Demo - Trial {{ round_number }} {% endblock %} {% block content %}

Pac-Man Demo - Trial {{ round_number }}

{# ---- Instructions (sync vs control + practice) ---- #} {% if is_practice %} {% if sync_condition == 'sync' %}

PRACTICE TRIAL (SYNCHRONY): In this trial, Pac-Man will move only if you both press the same key at (almost) the same time. Please practice moving together.

{% else %}

PRACTICE TRIAL (NO SYNCHRONY): In this trial, Pac-Man will move whenever either of you presses a valid key. Please practice moving together.

{% endif %} {% with target=target_color %}
For this practice round, please go together to this fruit: {{ target }} fruit.
{% endwith %} {% else %} {% if sync_condition == 'sync' %}

SYNCHRONY TRIAL: Navigate Pac-Man together – he will only respond if you both press the same key at the same time.

{% else %}

NO SYNCHRONY TRIAL: Navigate Pac-Man together – he will respond to any of your key presses.

{% endif %} {# No explicit target fruit here – they must decide themselves #} {% endif %}
{% endblock %} {% block scripts %} {% endblock %}