codingteam / Keter

A roguelike game in the SCP setting.
https://codingteam.github.io/Keter/
MIT License
15 stars 5 forks source link

End scenario #36

Open ForNeVeR opened 9 years ago

ForNeVeR commented 9 years ago

Well, player death is / should be a most possible game end. Currently there is two possibilities:

1) if player is dead and there are no other creatures on the map, it's "Universe death" (exception message got printed to console and nothing else happens); 2) if player is dead and any AI agent is not, it's endless loop of their actions.

We should do something about it!

Akon32 commented 9 years ago

I had planned to change engine's logic from infinite loop to 'pulling' the alive timelines from the given UniverseSnapshot until specified time, when it's requested (e.g. when there are a scheduled player's actions in event queues). It is issue of unimplemented multiverse.