thejoshwolfe / legend-of-swarkland

Turn-based action fantasy puzzle game inspired by NetHack and Crypt of the Necrodancer
http://wolfesoftware.com/legend-of-swarkland/
Other
94 stars 5 forks source link

don't delete save file on death #47

Closed thejoshwolfe closed 5 years ago

thejoshwolfe commented 7 years ago

Not only does it make it hard to find bugs that result in you dying, it's also probably not what we want long term anyway. We should rename the file to get it out of the way of the default save location (so that relaunching the game starts a new game), but keep it around with some name that has a timestamp in it or something. or maybe just sequential indexes, idk.

we should also rename your file out of the way when you "win" by defeating the lich king, because you probably want to start a new game if you start the game again after that.

andrewrk commented 7 years ago

I would like to point out that a save file is proof of a score or a victory if you win. One can run a save file through a trusted swarkland build and determine if it is a fair and valid victory.

thejoshwolfe commented 7 years ago

That would not detect save scumming, but it would detect hacking and cheatcodes. in order to ensure no save scumming, you'd need a server that keeps the player behind the network protocol, and also #2.