• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Plugins
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by rasher - 2007-08-10
Last edited by rasher - 2007-10-05

FS#7577 - Robotfindskitten - a zen simulation

This is my first attempt at porting robotfindskitten ( to Rockbox. Right now it has a few problems:
- The screensize calculation goes wrong, and leaves a large empty area at the bottom.
- The NKI (non-kitten item) texts don’t scroll.
- General ickyness with text positioning

Wikipedia description of robotfindskitten:

robotfindskitten is a “Zen simulation,” originally written by Leonard Richardson for DOS. It is a free computer game with an ASCII interface in which the user (playing the eponymous robot and represented by a pound sign “#”) must find kitten (represented by a random character) on a field of other random characters. Walking up to items allows robot to identify them as either kitten, or any of a variety of whimsical, strange or simply random Non-Kitten Items (NKIs). It is not possible to lose

The above text is copyright by the wikipedia authors and under the GFDL license, yadda yadda.

Closed by  rasher
2007-10-05 20:06
Reason for closing:  Accepted
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

Committed in r14993.

And here’s a patch that should actually build for a real target. Some additional stuff that needs to be done:
- Use colour if the target supports it
- Clear the NKI line when moving

- Make NKI text scroll
- Colour support
- Text/char placement fixes

Compiles for h120, recorder and ipod video, both target and sim. I’ve only tested the sims (I’m currently without a Rockbox-able target), so I’d love it if someone with a bit of spare time would take it for a whirl.

“Proper” patch relative to the root, rather than apps/plugins/

And here’s one with the right filenames.. (forgot to rename messages.h to robotfindskitten_messages.h)

- Change controls on Ipods to not use the scrollwheel.
- Show instructions (on 320×240 only right now - I need to create a nice way of displaying lots of text)
- Add robotfindskitten section to the manual

Edit: Oops, forgot to attache the patch

Further update:
- Clear button queue when robotfindskitten
- Nicer play_animation which includes colour and looks nicer
- Wait for the user to press something after finding kitten
- Fix an off-by one error that made the rightmost column inaccessible (and crashed if you try to go there)

Screenshots for the manual.


Available keyboard shortcuts


Task Details

Task Editing