The Flaming Goat is a text adventure in which the player must find their way out of the subway.
The Flaming Goat adventure has 2 variables:
- FlamingGoatAdventure.isGoatOnFire - This is a boolean which tracks if the Goat is currently on fire
- FlamingGoatAdventure.hasSpryte - This is a boolean which tracks if the player has a Spryte
There are 2 rooms in the Flaming Goat adventure.
The player begins their adventure here. This is a Subway Platform which has a
broken escalator and a vending machine. The player must use the vending machine
to get a Spryte. This is controlled using the hasSpryte
variable.
- escalator
- walk
- coin
- machine
//TODO: Complete code block
The player can walk up the escalator but it is blocked by a goat which is on fire. The player must put the fire out and feed it a Spryte can to exit the subway.
- goat
- back
- fire
- hungry
//TODO: Complete code block