amaatouq/netwise

onGameStart onGameEnd onRoundStart

Opened this issue · 0 comments

I think we might want to have these additional two hooks in the config at the server side of the game. In particular:

  • onGameStart is just renaming init (if it makes sense; I am thinking out loud here).
  • onGameEnd could be a good place to convert the game score into dollar amounts etc. (
  • onRoundStart at the beginning of the round. For example, when the round starts, I want to have something like: player.round.set("alterIds", player.get("alterIds")); to solve issue #24 .. although it can be done in other places such in between stages etc; it seems to me that at the start of the round is the most logical place.