blenderlab / BattleIA

Client/Server app for Adimaker IT curses
2 stars 19 forks source link

[TODO] Bot : Adding an AutoRespawn action #4

Closed blenderlab closed 3 years ago

blenderlab commented 4 years ago

When a bot dies, it is disconnected from server, and has to be relaunched manually.

We need a bot to be respawned/relaunched when it dies. It keeps its name.

CANCELLED : The "AutoRespawn" capability has to be configures in the Settings file of the bot. cf the Issue https://github.com/blenderlab/BattleIA/issues/1

blenderlab commented 4 years ago

The Bot don't have to be able to respawn itself, it's Server's choice. We keep the philosophy of letting the server decide everything (and so the bot revival). So this point is only server side.

blenderlab commented 4 years ago

The Respawn action of bot on server side has to check if there are some respawn points available. If so, the bot is respawn on one of them. Else ... I don't know yet.

blenderlab commented 3 years ago

Done !