From 65a7c26b5a674d51784f7ee449f28c14858b0196 Mon Sep 17 00:00:00 2001 From: Tissevert Date: Wed, 16 Oct 2019 18:43:53 +0200 Subject: [PATCH] Player will need to pass the state of the game along with their move since the server won't remember it for them --- src/Hanafuda/Message.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Hanafuda/Message.hs b/src/Hanafuda/Message.hs index 96350d1..86a23eb 100644 --- a/src/Hanafuda/Message.hs +++ b/src/Hanafuda/Message.hs @@ -68,7 +68,7 @@ data FromClient = | Invitation {to :: PlayerID} | LogIn {name :: Text} | LogOut - | Play {move :: KoiKoi.Move} + | Play {move :: KoiKoi.Move, onGame :: PublicGame} | Quit | Ping deriving (Generic)