Open jackducham opened 5 years ago
My thoughts on this are that infra would send engine a message that player with id X has changed ports to Y. On the next turn, engine would ping the new port rather than the old (and alert infra that the new port was now being used). Infra would then take down the old port. What this would mean in-game is that a hot-swap is not really noticeable at all. Bots would simply start making better decisions the turn after a swap was initiated. Maybe I'm missing some problematic details of the process, but that was my vision of what it would look like anyways.
What happens when a new script is uploaded? Ideally the transition is seamless- the bots are swapped between turns and state is preserved in the bot's database. Define mechanically what happens in game when the passing of control happens.