From 644c28ae75144381bea0402045106ae421acfe49 Mon Sep 17 00:00:00 2001 From: Stefan Rupp Date: Thu, 21 May 2020 19:54:39 +0200 Subject: [PATCH] playing cards per websocket now :) --- templates/home/player.html | 11 +++++++++++ templates/shared/_layout.html | 1 + views/control.py | 25 +++++-------------------- views/player.py | 34 ++++++++++++++++------------------ wiz_game.py | 7 +++++++ 5 files changed, 40 insertions(+), 38 deletions(-) diff --git a/templates/home/player.html b/templates/home/player.html index aa01b44..e2cf693 100644 --- a/templates/home/player.html +++ b/templates/home/player.html @@ -2,6 +2,13 @@ {% block content %} + +

Gambling Foo A RESTful gaming service

@@ -42,7 +49,11 @@

  • >card {{loop.index}} is: {{card}}
    {% if playerActive and not choose_trump_color %} + + {% endif %}
  • {% endfor %} diff --git a/templates/shared/_layout.html b/templates/shared/_layout.html index a825c91..bdccb0c 100644 --- a/templates/shared/_layout.html +++ b/templates/shared/_layout.html @@ -23,6 +23,7 @@