Computers love repetition. It’s what they are good at. Give a repeatable task to a computer and you will make a happy pile of silicon.
When writing programs, you end up writing lots of loops. With interactive stories, your mileage may vary. You may just write very text-centric stories, favoring links instead of code. In that case, you might not write a single loop.
Other times, you’ll want to utilize loops to process or act on your story data. This tutorial will get you started with Twine loops.Read more