Thursday, 10 May 2007
A Poem in Inform 7
I recently finished reading Le Ton
beau de Marot, an excellent book about translation by Douglas
Hofstadter, whom you might know as the author of Gödel,
Escher, Bach. The book includes dozens of translations of "A une
Damoyselle malade," a short poem written by Clément Marot in
1537 as a sort of get-well card to the daughter of Marguerite de
Navarre. The translations vary from literal glosses to very loose and
playful ones that might better be called adaptations. It looked like
fun, so I thought I'd try doing an adaptation to Inform 7. Here it is:
"Renee Faye" by Brian Slesinsky
Section 1 - Definitions
A Faye is a kind of player-character.
A person can be thin.
Understand "marmalade" as jam.
Understand "urn" as jam.
Understand "maid" as Renee.
The jam is edible.
Section 2 - Rules
When play begins:
Remove yourself from play;
Change the player to Renee;
Instead of going when Renee is thin:
say "You feel too sick to go anywhere."
After eating the Jam:
say "Very good! You feel much better.";
Now Renee is not thin.
After going somewhere:
end the game in victory.
Section 3 - Poem
is a Faye.
She is thin.
She is in
East from Cell
"Though it bores,
have no fear!"
Jam is here.
for sweet maid
in an urn."
is thin: say
"'Out of ham,
have some jam.
Have a feast.
When play ends,
say "Your friends
Done with flu!
Now let's play,
Here's a transcript of the simple game this compiles to:
An Interactive Fiction by Brian Slesinsky
Release 1 / Serial number 070510 / Inform 7 build 4U65 (I6/v6.31 lib 6/11N) SD
Though it bores, have no fear!
Marmalade for sweet maid in an urn.
You see nothing special about the jam.
"Out of ham, have some jam. Have a feast. Exit: east. Quickly though!" said Marot.
(first taking the jam)
Very good! You feel much better.
Your friends welcome you. Done with flu! Now let's play, Sweet Renee!
*** You have won ***
In that game you scored 0 out of a possible 0, in 3 turns.
Would you like to RESTART, RESTORE a saved game or QUIT?
Here are some other translations I liked:
respond | link |