ZeusWPI / MOZAICP

MOZAIC is the Massive Online Zeus Artificial Intelligence Competition Platform
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Synchronisation #4

Open ajuvercr opened 5 years ago

ajuvercr commented 5 years ago

When a client is disconnected and then reconnects, it is overwhelmed with game states. In the current implementation the client just sends the first game state it finds to the bot that then answers back, this is not good because the server will interpret that move as the real move but it is based on a (by then) invalid state.

Server/client should filter out out of sync messages. (MOZAIC may ship reactors to fix this soon)

ajuvercr commented 5 years ago

This was meant for https://github.com/ajuvercr/Planetwars/issues but it is better where anyway ... So please implement synchronisation reactors, thanks...