Inform 7 help with scoring

I would like ideas to help me with points.
I have it where if finishing game without saving + reaching a certain score game awards an extra point. example how would i code if game ends and turns are 100 or less award point? any other ideas would also be helpful. thank you.

1 Like

Depending on the game, it could be fun to reward players for visiting every location, or visiting a bare minimum of locations. If it were me I would look at conducts in NetHack for inspiration and try to imagine what my game’s version of being illiterate or petless was.

To score based on the turn count, you just need to add some logic before the “end the story” line, like this:

     if turn count is less than 100:
          say "You finished in fewer than 100 turns!" [just so the player knows why their score is going up]
          increase the score by 1;
     end the story.
2 Likes