"RockingHorse" by Matthew Somerville
When play begins: display the boxed quotation "NOT A DREAM."
After printing the banner text, say "Inspired by http://www.qwantz.com/index.php?comic=2234 ."
Release along with source text, a solution, and an interpreter.
The maximum score is 113.
The Stableyard is a room. "The stableyard is your outdoor home. Surrounded by a fence, people frequently come to feed you apples and sugar lumps. There r bad guys 2 shoot and u can get powerups that make you shoot cannonballs from the hoofs."
The stableyard fence is scenery in the Stableyard.
A horse is a kind of animal. A horse can be awesome. A horse is always awesome.
A set of hooves is a kind of thing. A set of hooves is part of every horse. Understand "hoofs" as hooves.
Rule for printing the name of a set of hooves which is part of the player: say "your hooves"
A pair of eyes is a kind of thing. A pair of eyes is a part of every horse.
Rule for printing the name of a pair of eyes which is part of the player: say "your eyes"
Silver is a horse. The player is Silver.
Instead of examining the player, say "U r a horse."
Instead of examining a set of hooves which is part of the player, say "Your hooves are well-shod, and you feel have the potential for great things."
Instead of examining a pair of eyes which is part of the player, say "It's pretty hard to examine your own eyes without a mirror."
[enemies. Stupid way to do three bad guys, I know.]
An enemy is a kind of person.
Instead of kissing an enemy, say "Your worst nightmare!"
An enemy called some bad guys are in the Stableyard.
The description is "Enemies are like what if you mashed Sonic and Mario together."
Understand "bad", "guy", or "enemy" as some bad guys.
Some bad guys have a number called count. The count of some bad guys is 3.
After shooting the bad guys with:
decrement the count;
if count of some bad guys is 0:
move the boss to the location;
remove the bad guys from play;
say "You shoot the last bad guy using [the second noun], only to find the boss has taken the time to come into the yard. He glares at you menacingly.";
continue the action.
The boss is an enemy. "A boss towers over you."
The description is "The boss is giant, and u r small (like in religion??)."
Instead of shooting the boss with eyes, say "Your bullets are no match for him! [if a powerup is held]Perhaps you should try using your hooves?[otherwise]If only there was some way of gaining more powers..."
After shooting the boss with hooves:
say "Cannonballs shoot out of your hooves, and the boss drops dead!";
end the story finally;
A powerup is in the Stableyard.
The description is "It glows with an inherent misty light."
After taking the powerup:
increase the score by 10;
say "You feel strength flow through your limbs; you feel as if you could stand up on your hind legs and shoot cannonballs from your front hooves."
Instead of waiting, say "No time for that, bad guys to shoot!"
Instead of attacking an enemy, try shooting the noun with.
Does the player mean shooting an enemy with: it is very likely.
Understand "shoot [something]" as shooting it with.
Understand "shoot [something] with [something]" as shooting it with.
Shooting it with is an action with past participle shot, applying to two visible things.
Check shooting it with:
if the noun is not an enemy, say "You only want to shoot bad guys." instead;
if the powerup is not held and the second noun is hooves, say "If only you could find a way..." instead;
if the second noun is not part of the player, say "You cannot shoot with that." instead;
Carry out shooting it with:
if the noun is the boss, increase the score by 100;
else increment the score.
Rule for supplying a missing second noun while shooting:
if powerup is held:
say "(with your hooves)";
now the second noun is the hooves;
say "(with your eyes)";
now the second noun is the eyes;
Report shooting it with:
if the second noun is eyes, say "Bullets ";
if the second noun is hooves, say "Cannonballs ";
say "shoot out of [the second noun], and one of [the noun] drops dead!";
Cantering is an action applying to nothing.
Report cantering: say "You canter around a bit."
Understand "canter" or "gallop" as cantering.