latitudegames / AIDungeon

Infinite adventures await!
http://www.aidungeon.io/
MIT License
3.18k stars 556 forks source link

Added soft restart command, old restart renamed #196

Closed Renha closed 4 years ago

Renha commented 4 years ago

As proposed in #194, two kinds of restart implemented, soft, which just reverts any action and reaction, and hard with relaunch-like functionality. Soft restart called restart, while hard one is renamed to reset. Rating functionality is removed from soft restart, because rating shouldn't stick with basically a completely new story.

๐ŸŽ‰ Issues resolved:

๐Ÿงช How to Test

  1. Start a new story, play a little
  2. Type in /restart, game should start again with the same settings
  3. Play a little
  4. Type in /reset, game should start as if you've just launched it
ben-bay commented 4 years ago

I really like this! Will test a little before merge.