From 989566a7246b581c11ea8448453b4b3a686f54c1 Mon Sep 17 00:00:00 2001
From: Thomas Thurman robotfindskitten is a Zen simulation. robot must find kitten
+in an area full of non-kitten items. The original version was
+written in 1997 by the illustrious Leonard Richardson for the Nerth
+Pork robotfindskitten contest. This Maemo port was written by
+Thomas Thurman in 2009. You may learn more at the
+robotfindskitten website. You may scroll this help text. When you
+are done, you may close this window and return
+to robotfindskitten. There are three ways to move robot around. Firstly, you may tap
+on any side of robot to move robot in that direction, including
+diagonally. Secondly, you may use the arrow keys on the keyboard. However,
+this does not allow you to move diagonally. Thirdly, you may use the vi keys (also called the nethack keys).
+They are:robotfindskitten
+
+Moving robot around
+
+
+y k u
+h · l
+b j n
+
+
If you are controlling robot with the keyboard, then holding +down Shift as you move will make robot run until meeting +an item or the wall.
+ +There is no way to do this. It should be in the next release.
+ +"Day and night I feverishly worked upon the +machine, creating both a soul which could desire +its goal, and a body with which it could realize +it. Many who saw my creation called it an +abomination, and denied me grant money. But they +could not dissuade me from my impossible task. It +was a spectre that tormented me always, a ghost I +had to give a form and a life, lest it consume me +from the inside. And when at last my task was +done, when the grey box on wheels was complete and +when it, as well as I, knew what had to be done, I +felt deep sympathy for the machine. For I had not +destroyed the phantom, but merely exorcized it +into another body. The robot knew not why this +task had to be performed, for I could not imbue it +with knowledge I did not myself posess. And at the +same time, I felt a sweeping sense of relief sweep +over me, that somehow, the dream that had driven +me for my entire life had come one step closer to +fruition. "As I vocally activated the robot, I +realized that it was following my instructions, +but not out of any desire to obey me. Had I +remained silent, it would have performed +exactly the same operations. We were two beings +controlled by the same force now. And yet, seeking +vainly to hold some illusion of control over the +machine I thought I had created, I gave my final +command.
+ +"`GO!' I told the box as it began to roll out of +my workshop into the frozen desert beyond. `FIND +KITTEN!'"
+ +— The Book of Found Kittens, pages 43-4, author unknown
+ + + diff --git a/rfk.c b/rfk.c index e63edae..40785b3 100644 --- a/rfk.c +++ b/rfk.c @@ -3,9 +3,10 @@ * ported to maemo by Thomas Thurman, 2009 * suggestions welcome * Compile with: - * gcc -Wall -g rfk.c -o rfk `pkg-config --cflags --libs gtk+-2.0 hildon-1` + * gcc -Wall -g rfk.c -o rfk `pkg-config --cflags --libs gtk+-2.0 hildon-1 dbus-glib-1 dbus-1` */ +#include