{% extends 'layout.html.twig' %} {% block stylesheets %} {{parent()}} {% endblock %} {% block body %} {{ parent() }}
{# carrousel #} {% set randomname = "" %} {% set randomid = 0 %} {% set oponentName = "RANDOM" %} {% set oponentImage = "default.png" %} {% for user in users %}{% if loop.index == 1 %}{% set randomname = user.name %}{% set randomid = user.id %}{% endif %}{% endfor %}
{# end carrousel #} {# type of game #}
{# end type #} {# selection #}

YOU

{{oponentName}}

{# end selection #} {# play-btn #}
{% trans %}JUGAR{% endtrans %}
{# endplaybtn #}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}