{% 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 }}
New here? Try the command line tutorial.
It's a small tutorial that gives you the information you'll need for the game to run.
You can go through it as many times as you like — just make sure you feel at least a little confident
with the commands it covers before you start the game.
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.