jkomoros / boardgame

An in-progress framework in golang to easily build boardgame Progressive Web Apps
Apache License 2.0
31 stars 4 forks source link

Have a formal list of allowed property types on state object #159

Open jkomoros opened 7 years ago

jkomoros commented 7 years ago

Like, you may not have maps or sub-properties.

At various points it's important for the serialization methods to know what to expect. See #40

jkomoros commented 7 years ago

We'll probably need a boardgame.IntSlice because we'll need it for PolicyGroup state.(see #40). Do we need it for any other states?