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) + }