{% if not done and player in played %} {% endif %} {% macro attempt(a) %}
{% for i in range(4) %} {% endfor %}
{% endmacro %} {% macro response(r, other) %}
{% for i in range(4) %} {#{% if i == 1 %}
{% endif %}#} {% endfor %}
{% endmacro %} {% if done %} {% endif %} {% for p in players.values() %} {% if p.uuid == player %}{% continue %}{% endif %} {% endfor %} {% for i in range(turn) %} {% for p in players.values() %} {% if p.uuid == player %}{% continue %}{% endif %} {% endfor %} {% endfor %}
{{ attempt(solution) }}
Turn Your guess {{ players[player].name }}{{ p.name }}
{{ i+1 }} {% if attempts | length >= i+1 %}{{ attempt(attempts[i]) }}{% endif %} {% if responses[player] | length >= i+1 %}{{ response(responses[player][i], false) }}{% endif %}{% if responses[p.uuid] | length >= i+1 %}{{ response(responses[p.uuid][i], true) }}{% endif %}
{% if done %} {% if winners | length == 0 %} Nobody won {% else %} {{ winners | join(', ') }} won! {% endif %} Game Over! Return to lobby {% elif player not in played %}
{% for i in range(4) %} {% endfor %}
{% for c in colors %} {% endfor %}
{% else %} Please wait for the other players to finish their turn! {% endif %}