kaarten/templates/game.html

14 lines
386 B
HTML
Raw Permalink Normal View History

2020-03-20 13:41:26 +01:00
{% from "partials.html" import render_card, deck %}
<html>
<body>
<h1>{{game.game_id | e}}</h1>
<h2>Players:</h2>
<ul>
{% for playerid in game.players %}
<li>{{ playerid }}: {{ game.cards[playerid] | length}} cards</li>
{% endfor %}
</ul>
<h2>Deck:</h2>
{{ deck(game, "") }}
</body>
</html>