Pandaqi / In-the-Same-Boat

Jackbox-style game where you try to sail a ship together - discovering treasures and battling your friends.
2 stars 0 forks source link

Succesful upgrades #16

Closed Pandaqi closed 5 years ago

Pandaqi commented 5 years ago

When the user clicks the "upgrade" button, the upgrade query is sent to the server, but their device still sees the old level. (Upgrading "takes a turn".)

The next turn, however, they DO need to receive the upgraded level from the server (if it was succesful).

I think it's wasteful to send the level information every single turn, so I think I need to "mark" the level stats as having changed and in need of a send-to-client.

(If that doesn't work, I'm fine with sending it every turn. It's a small bit of info.)