I'm just getting started on BGA development and I have a few questions.
- When updating a page due to a user action, when should you use the state "args" and when should you use the dojo notifications? Or are they separate things for different purposes?
- I'm thinking of putting the 'current valid moves' and 'last move taken' in the database. When the player makes a move, computes this, then adds it to the database. My thinking is that if there is a disruption, it is then easy to redisplay this: just make this part of the game state so the js setup(gamedatas) function will display it automatically. Is this a good idea or not?
Thanks.
- When updating a page due to a user action, when should you use the state "args" and when should you use the dojo notifications? Or are they separate things for different purposes?
- I'm thinking of putting the 'current valid moves' and 'last move taken' in the database. When the player makes a move, computes this, then adds it to the database. My thinking is that if there is a disruption, it is then easy to redisplay this: just make this part of the game state so the js setup(gamedatas) function will display it automatically. Is this a good idea or not?
Thanks.