Putting this into Game Development instead of ChoiceScript Help, because I think this is more about utilization of the code instead of the code language itself.
I have a hopefully interesting, but very hypothetical question. I’ve been mulling over the different ways we can skip around in and in between scenes, as well as the option of RNG that is implemented, and I came up with a question I don’t have the experience to even fathom an answer to:
Would it be possible to code even a rudimentary reactive AI in ChoiceScript?
By this I specifically mean some kind of automatic algorithm to figure out if the player has done a series of choices so far, and then react and change a scene based on that information.
For example: Player is going through a dungeoncrawl and has been making consistent choices throughout the dungeon. They have chosen to be a mage. AI would identify the pattern and construct an end boss from that. Instead of facing a boss with slow and powerful ranged attacks, the MC faces a fast melee character resistant to some spells.
NOTE: I realize that the action I’m suggesting can be achieved by human effort and extensive use of variables, and that it would be much easier to do it manually. My question is hypothetical, and I want to open a discussion to figure out just how CS can be utilized if someone really wanted to go for it.