From 344524b85fcacbe94f79d029a57f05c0e6b225b9 Mon Sep 17 00:00:00 2001 From: Nemo Date: Sun, 28 Jan 2018 04:06:31 +0530 Subject: [PATCH] Adds a final state, and some defaults --- sushigo.capnp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sushigo.capnp b/sushigo.capnp index c1fd763..7d19248 100644 --- a/sushigo.capnp +++ b/sushigo.capnp @@ -25,12 +25,12 @@ struct Location { union { deck :group { - deck @0 :Bool; + deck @0 :Bool = true; } player :group { # Which player - index @1 :UInt8; + index @1 :UInt8 = 0; location @2 :PlayerCardLocations; } @@ -40,4 +40,10 @@ struct Location { struct Card { type @0 :CardType; location @1 :Location; +} + +struct State { + cardlist @0 :List(Card); + # 1/2/3 + round @1 :UInt8 = 1; } \ No newline at end of file