Saving Data
DisclaimedGoat (12)

So I am making a game, and although it is not needed, I would prefer to save the player's data. The problem isn't that I don't know how to accomplish this, but is it possible using repl?

My guess is that this website is client based on the browser, so even if I do save a file, it won't stay in existence once the player loses connection. So, to get to the point, is it possible to save data and is my guess even correct?


You are viewing a single comment. View All
DisclaimedGoat (12)

@malvoliothegood I think I understand what you are saying, and, yes, I agree. However, what I want to do it distribute the URL of the page that is just the terminal. So in my case the URL for this repl is:

So here is where I see the problem- once this terminal looses connection, and you need to "run again" the program. I think here is the issue, becaue I think that the previous files are copied over.
So I guess a better question would be: Is there a way to distribute a terminal environment (preferably by URL) while still able to save the data? I don't necessarily want people to see my code, but if that's not the case, then so be it lol.