I7: When the Moon Hits Your Eye

79 views
Skip to first unread message

Brian Slesinsky

unread,
May 23, 2006, 2:23:40 AM5/23/06
to
Hi folks, here's my latest attempt at writing amusing Inform 7 source
code. Enjoy!

Brian Slesinsky
http://slesinsky.org/brian/

---- begin source ---

"When the Moon Hits Your Eye" by Brian Slesinsky

Part 1 - Definitions

A sound is a kind of value. Ting-a-ling-a-ling, Tippy-tippy-tay,
Tippy-tippy-tay like a gay tarantella, and you ll sing Vita Bella are
the sounds.

Old Napoli is a room. "A warm, pleasant night. The full moon hangs
low over the horizon." The full moon is scenery in Old Napoli.
"Something about the full moon makes you feel hungry." Understand
"horizon" as the full moon.

Dean Martin is a man. The description of Dean Martin is "He looks
surprisingly alive. And yet you know you're not dreaming."
Check singing when Dean Martin is in the room: say "Why spoil the
moment?"; rule fails.

Love is a container.

A thing can be in-Napoli where.

A thing can be king. A thing is seldom king.

To here's what they say: Change love to king.

Dean Martin's Show is a scene. Dean Martin's Show begins when love is
king. Dean Martin's Show ends when love is not king.

When Dean Martin's Show begins:
move Dean Martin to Old Napoli;
say "Hey, look, there's Dean Martin!";
The moon hits your eye like a big pizza pie
in zero turns from now;
The world seems to shine like you've had too much wine
in one turn from now;
The stars make you drool just like a pasta fazule
in two turns from now;
You dance down the street with a cloud at your feet
in three turns from now;
You walk in-a dream but you know you're not dreaming signore
in four turns from now.

When Dean Martin's Show ends:
remove Dean Martin from play;
say "Dean Martin leaves the stage.[line break]";
say "(Next show in five minutes.)";
Boy meets girl in five minutes from now.

To that's amore: say " '[a random sound].'"

About-To-Ring relates various things to various sounds. The verb to
will-ring (he will-ring, they will-ring, he will-have-rung, it is
about-to-ring, he is about-to-ring) implies the About-To-Ring relation.


About-To-Play relates various things to various sounds. The verb to
will-play (he will-play, they will-play, he will-have-played, it is
about-to-play, he is about-to-play) implies the About-To-Play relation.


To you're in love: say "You're in love."

To scuzza me but you see back in old Napoli:
Change love to not king.

When play begins:
Boy meets girl in one turn from now.

Part 2 - Lyrics

In-Napoli where love is king.
When boy meets girl:
here's what they say.

When the moon hits your eye
like a big pizza pie:
that's amore.

When the world seems to shine
like you've had too much wine:
that's amore.

Bells will-ring ting-a-ling-a-ling,
ting-a-ling-a-ling, and you ll sing
Vita Bella.

Hearts will-play tippy-tippy-tay,
tippy-tippy-tay like a gay
tarantella.

When the stars make you drool
just like a pasta fazule:
that's amore.

When you dance down the street
with a cloud at your feet:
you're in love.

When you walk in-a dream
but you know you're not dreaming
signore:
Scuzza me but you see
back in old Napoli;
That's amore.

--- end source ---

Sir Pyke

unread,
May 23, 2006, 3:25:09 AM5/23/06
to
"Hi folks, here's my latest attempt at writing amusing Inform 7 source
code. Enjoy!"

Well done!

...Though I'm not exactly sure what to think about all this. I'm
interested to see how people will shape I7 to lengths you do here, so
that it can become more expressive.

I read a bit from your web site where you say that, to you, I7's "real
significance...is that it is the latest experiment in writing for two
audiences simultaneously: humans and computers."

Something that would be beautiful to see happen is that the creation of
a game could come to involve the creation of two texts. The first would
be, sort of like the one above and would be an artistic work in its own
right: something that can be enjoyed in and of itself. The second that
would be an interactive text that unfolds from within it.

Sir Pyke.

mtw...@beakstar.com

unread,
May 24, 2006, 12:01:49 AM5/24/06
to
This looks very cool. I hate to acknowledge my own dimness in this
case, however I've been looking at it in Inform for about 30 minutes
now and I can't actually get it to produce anything when I play it? Or
is it not intended to?

Thanks,

-Matt

Brian Slesinsky

unread,
May 24, 2006, 1:30:50 AM5/24/06
to
It doesn't do all that much, but if you wait a few times, you should
see a little show. (I just tried copying the source from Google Groups
and running it, and it worked okay.)

- Brian

Reply all
Reply to author
Forward
0 new messages