richard-webb-dev / werewolves-site

Small early stages project of a simple part game
0 stars 0 forks source link

Broadcasting not cleanly implemented within the game class #21

Open richard-webb-dev opened 8 years ago

richard-webb-dev commented 8 years ago

Options are:

Need to work out whether players/events/things outside of game need to broadcast information.

Additionally, messaging broadcasting might be able to share some code (in which case componenting it out sounds like the best practice)

richard-webb-dev commented 8 years ago

dev option to "ask update" put in, which returns a JSON of the Game at this stage. The Game().as_JSON has filtering put onto it (for events, players, event history and metadata) but there is no automated broadcasting as of yet.

richard-webb-dev commented 8 years ago

The optional parameters allow full or minimal data given out depending on the player (question no longer stands)

richard-webb-dev commented 8 years ago

Nearly there on this one. Could do with standardising a broadcasting object. Still the potential for a broadcasting class.