From dc87897b77d28144a6121b7520955482d5419a93 Mon Sep 17 00:00:00 2001 From: Stefan Rupp Date: Sat, 25 Apr 2020 22:00:23 +0200 Subject: [PATCH] last trick is now visible --- templates/home/player.html | 16 ++++++++++++++++ views/player.py | 13 ++++++++++++- wiz_game.py | 8 ++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) diff --git a/templates/home/player.html b/templates/home/player.html index 18ecbf0..aa01b44 100644 --- a/templates/home/player.html +++ b/templates/home/player.html @@ -15,6 +15,22 @@ {% endfor %} ||
+ + Tricks: + {% for player,_ in last_trick %} + || + {{player.name}}: {{player.tricks_taken}} + {% endfor %} + || +
+ Last Trick: + {% for player,card in last_trick %} + || + {{player.name}}: {{card}} + {% endfor %} + || +
+
Your cards: