{% extends 'layout/site.html.twig' %} {% block title %}Waiting for players - {{ session.game.name }}{% endblock %} {% block body %}

Waiting for all players to be ready

{{ session.game.name }}

Welcome to the game! Please wait for all players to join and signal they are ready to start.

Please keep the following things in mind:
  • This game is best played in full screen mode. For windows, press F11. For Mac, press Cmd+Ctrl+F.
  • There is no need to reload the page. There is even a chance this could break the game.
  • If your internet connection is lost, you can get back in the game after internet has been fixed.
Game Information:
  • Number of players: {{ session.game.numberOfPlayers }}
  • Current players: {{ session.players|length }} / {{ session.game.numberOfPlayers }}
Players status:
    {% for player in session.players %}
  • {{ player.user.username }} {% set playerReady = false %} {% set settingName = 'ReadyAtForPlayer' ~ player.screen %} {% for setting in session.settings %} {% if setting.name.value == settingName and setting.player == player %} {% set playerReady = true %} {% endif %} {% endfor %} {% if playerReady %} Ready {% else %} Not ready {% endif %}
  • {% endfor %}

{% if not app.user.verified %}
You must verify your email address before you can mark yourself as ready. Check your inbox for the confirmation link, or request a new one.
{% endif %}

As soon as everyone has checked this box, the game starts automatically for everyone. {% if isReady %} Your ready status expires in 1:00 if not everyone else is ready by then. {% endif %}

{% endblock %}