If you ever want to do nonlinear (branching) storytelling, try out https://twine2.neocities.org/, even if you don't use it directly, it's a great interface for prototyping games like yours.
Another thing to check out is https://github.com/socketteer/loom, which I once tried to rewrite in Elm as a joke, and also as an experimental attempt to see how fast I could translate code using GPT-4.
If you ever want to do nonlinear (branching) storytelling, try out https://twine2.neocities.org/, even if you don't use it directly, it's a great interface for prototyping games like yours.
Another thing to check out is https://github.com/socketteer/loom, which I once tried to rewrite in Elm as a joke, and also as an experimental attempt to see how fast I could translate code using GPT-4.