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:
parent
2f7be7df2b
commit
65a7c26b5a
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ data FromClient =
|
||||||
| Invitation {to :: PlayerID}
|
| Invitation {to :: PlayerID}
|
||||||
| LogIn {name :: Text}
|
| LogIn {name :: Text}
|
||||||
| LogOut
|
| LogOut
|
||||||
| Play {move :: KoiKoi.Move}
|
| Play {move :: KoiKoi.Move, onGame :: PublicGame}
|
||||||
| Quit
|
| Quit
|
||||||
| Ping
|
| Ping
|
||||||
deriving (Generic)
|
deriving (Generic)
|
||||||
|
|
Loading…
Reference in a new issue