{% extends "base.html" %} {% block title %} Jeu {% endblock %} {% block titre %} Jeu {{ game.name }} {% endblock %} {% block contenu %}
Table

Admin : {{ game.admin }}

Nombre de parties : {% if game.turn <= -8 %}{{ game.partie - 1 }}{% else %}{{ game.partie }}{% endif %}

{% if game.start %} {{lp}}
ÉquipesPoints
  • {{ serialized['playersinfo'][serialized['players'][0]] }} ({{ serialized['players'][0] }})
  • {{ serialized['playersinfo'][serialized['players'][2]] }} ({{ serialized['players'][2] }})
{{ game.cumul_0 }}
  • {{ serialized['playersinfo'][serialized['players'][1]] }} ({{ serialized['players'][1] }})
  • {{ serialized['playersinfo'][serialized['players'][3]] }} ({{ serialized['players'][3] }})
{{ game.cumul_1 }}
{% endif %}
{% if game.start %}
Partie en cours

Tour : {{ serialized['turn'] }}

Atout : {% if serialized['atout'] is none %} - {% else %}{{ serialized['atout'] }}{% endif %}

Pris par : {% if serialized['preneur'] is none %} - {% else %}{{ serialized['playersinfo'][serialized['preneur']] }} ({{ serialized['preneur'] }}){% endif %}

Cartes jouées : {{ serialized['played'] }}

{% set pj = (serialized['first_player'] + game.turn) % 4 %}

Prochain joueur : {{ serialized['playersinfo'][serialized['players'][pj]] }} ({{ serialized['players'][pj] }})

{% endif %}
{% endblock %}