
"Scoring 01" by John Timmons
The release number is 1. The story creation year is 2008. The story headline is "An example of awarding points to the player when they perform certain actions." The story description is "A basic example of creating a scoring system for performing certain actions and then winning the game when the maximum amount of points is won."
Release along with the source text and a website.
[This is the maximum number of points that the player could possibly be rewarded with.]
The maximum score is 8.
[In each turn the score is assessed and, if the score has reached the maximum, the game will then end in victory.]
Every turn:
if score is 8 then end the game saying "Congratulations you earned a perfect score!".
The Foyer is a room.
The cookie jar is a closed openable container in the Foyer. It is fixed in place.
The fig newton is in the cookie jar. It is edible.
The cooler is a closed openable container in the Foyer. It is fixed in place.
The milk is in the cooler. The indefinite article is "some".
Instead of drinking the milk:
say "You drink the milk. Ahhhh.";
remove the milk from play;
award 2 points.[1]
[Points are awarded by using rules. Here we simply use a series of carry out rules.]
Carry out opening the cookie jar:
award 2 points.
Carry out opening the cooler:
award 2 points.
Carry out eating the fig newton:
award 2 points.