Pat Gunn (dachte) wrote,
Pat Gunn
dachte

An Encounter

A Program draws near! Command?


 Your options: ATTACK SPELL ITEM RUN
 :ATTACK
IMPROV attacks. It is not very effective. Program's hit points have been reduced by 2!
Program attacks!
Thy Hit decreased by 7.

Command?
 :ITEM
 :DOCUMENTATION
There is no documentation.
Program attacks!
Thy Hit decreased by 6
Command?
 :SPELL
 :READ COMMENTS
There are no comments.
Program casts CONFUSION. It is not very effective. Thy Hit decreased by 2!
Command?
 :SPELL
 :DEBUG
IMPROV casts the spell DEBUG.
The code is unclear. It is not very effective. Program's hit points have been reduced by 3!
Program casts INTERNETS. It is very effective. Thy Hit decreased by 12! You are distracted!
Command?
 :SPELL
 :DEBUGMORE
You are distracted.
Program casts WEARY. It is very effective. Thy Hit decreased by 10! You are sleepy.
Command?
 :SPELL
 :DEBUGMORE
You shake off the internets. You are sleepy.
Program casts WEARY. It is very effective. Thy Hit decreased by 15! You are sleepy.
Command?
 :SPELL
 :SLEEP
IMPROV goes to sleep. You recover full health. You are no longer sleepy.
Program casts INTERNETS. It is very effective. Thy Hit decreased by 11! You are distracted!
Command?
 :SPELL
 :RESOLVE
 :NO INTERNETS UNTIL THIS IS DONE
You are no longer distracted. You enter state: FOCUSED
Program casts INTERNETS. It is not very effective. Thy Hit decreased by 2!
Command?
 :ITEM
 :TEA
You drink some tea. You recover full health. You enter state: DEEP HACK MODE
You get a free turn.
Command?
 :SPELL
 :DEBUGMORE
IMPROV casts DEBUGMORE. Program's hit points have been reduced by 25!
Program casts SPAGHETTI. Program enters state: INSCRUTABLE
Command?
 :SPELL
 :DEBUGMORE
IMPROV casts DEBUGMORE. It is not very effective. Program's hit points have been reduced by 3!
Program casts FOOD DISTRACTION. Thy Hit decreased by 7!
Command?
 :SPELL
 :DOCUMENT
IMPROV documents Program. Program enters state: SCRUTABLE
Program casts SPAGHETTI. It does not work.
Command?
 :SPELL
 :DEBUGMORE
IMPROV casts DEBUGMORE. Program's hit points have been reduced by 30! Program enters state: UNDERSTOOD
Program casts DISTRACTION. It does not work.
Command?
 :SPELL
 :CODE
IMPROV casts CODE. Program's hit points have been reduced by 120! Thou hast done well in defeating the Program.

Kudos to those of you who will get this.

Tags: programming
Subscribe

  • Testing functions in Perl

    (Nothing particularly profound or my-idea-centric here, and I was tempted to post it to my personal blog instead, but it's worth trying to learn…

  • Abstract strategies for abstraction

    There are a few purposes of abstraction in programming; one of them is to construct a uniform API that is independent of the backend that can work…

  • Statistical Software Components

    A few months ago I mentioned my big library of useful generic C/Perl functions (libpgunn). There are plenty of other general-purpose libraries out…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments