Player will need to pass the state of the game along with their move since the server won't remember it for them

This commit is contained in:
Tissevert 2019-10-16 18:43:53 +02:00
parent 2f7be7df2b
commit 65a7c26b5a

View file

@ -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)