diff --git a/templates/home/player.html b/templates/home/player.html index e2cf693..cb038d7 100644 --- a/templates/home/player.html +++ b/templates/home/player.html @@ -7,6 +7,11 @@ let player = {{player}} window.game_socket.send("playcard "+player+":"+card) } + + function setTrumpColor(color) { + let player = {{player}} + window.game_socket.send("setTrumpColor "+player+":"+color) + }
@@ -59,10 +64,16 @@ {% endfor %} {% if choose_trump_color and (player == choose_trump_player) %} Choose Trump Color: + + + + + {% endif %}