kipraske / web-brogue

Play brogue in a web browser
GNU General Public License v2.0
20 stars 17 forks source link

Implement a Clean Brogue Exit #21

Closed kipraske closed 8 years ago

kipraske commented 9 years ago

Right now I am just killing the process rather forcefully. We should be able to gracefully exit brogue by having the brogue c program save our game automatically on something like a SIGTERM.

flend commented 8 years ago

Again, I removed save game support. We currently look for brogue exit either by trapping the exit event from the node process module, or (for reconnected games) catching exceptions when we are unable to send data to a brogue session.