# Saving progress through restarts in ChoiceScript

**URL:** <https://forum.choiceofgames.com/t/saving-progress-through-restarts-in-choicescript/24633>\
**Category:** ChoiceScript Help\
**Created:** [March 12, 2017, 3:53am UTC](https://forum.choiceofgames.com/t/saving-progress-through-restarts-in-choicescript/24633 "2017-03-12T03:53:53Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Havenstone](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/havenstone/32/198451_2.png) [@Havenstone](https://forum.choiceofgames.com/u/Havenstone)\
**Post date:** [March 26, 2017, 2:15pm UTC](https://forum.choiceofgames.com/t/saving-progress-through-restarts-in-choicescript/24633/8 "2017-03-26T14:15:01Z")

</div>

> [@Baricus](#):
>
> Would I just have to make my game not end?

This is what I was going to suggest, and I agree that Paradox Factor is a terrific example of gameplay similar to what you describe. If you want people to keep playing with variations until they reach a satisfactory ending, don’t use the \*ending command until they get there…

As for how to view the source code, scroll down to the bottom of this thread for the latest advice:

> [@How To See Other Games' Code (current info posted in OP and Post 146 on 6/18/19)](https://forum.choiceofgames.com/t/how-to-see-other-games-code/1328):
>
> I saw an explanation of how to look at “/scenes” for a game in a long-ago Choice of Vamp comment thread. If I hadn’t seen it, it wouldn’t have occurred to me that it was possible… and I’d have missed out on a whole lot of learning that’s come from digging into how other people coded their games! [Edit: Reaperoa’s original explanation was back when mygame.js was where your scene list lived. Now it lives in startup.txt. So here are some Choice of Rebels examples to complement/update his explan…

> [@Baricus](#):
>
> isn’t there issues with closing the game and saving your progress?

Not if it’s published (HG or COG).

---

_[View the full topic](https://forum.choiceofgames.com/t/saving-progress-through-restarts-in-choicescript/24633)._
