Warning: mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50625 Library:50543 in /sites/rockbox.org/flyspray/adodb/drivers/adodb-mysqli.inc.php on line 108 FS#7577 : Robotfindskitten - a zen simulation



FS#7577 - Robotfindskitten - a zen simulation

Attached to Project: Rockbox
Opened by Jonas Häggqvist (rasher) - Friday, 10 August 2007, 23:43 GMT
Last edited by Jonas Häggqvist (rasher) - Friday, 05 October 2007, 20:06 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This is my first attempt at porting robotfindskitten (http://robotfindskitten.org/) 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.

This task depends upon

Closed by  Jonas Häggqvist (rasher)
Friday, 05 October 2007, 20:06 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committed in r14993.
Comment by Jonas Häggqvist (rasher) - Saturday, 11 August 2007, 00:02 GMT
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
Comment by Jonas Häggqvist (rasher) - Monday, 01 October 2007, 20:20 GMT
- 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.
Comment by Jonas Häggqvist (rasher) - Monday, 01 October 2007, 20:32 GMT
"Proper" patch relative to the root, rather than apps/plugins/
Comment by Jonas Häggqvist (rasher) - Tuesday, 02 October 2007, 08:47 GMT
And here's one with the right filenames.. (forgot to rename messages.h to robotfindskitten_messages.h)
Comment by Jonas Häggqvist (rasher) - Thursday, 04 October 2007, 10:14 GMT
- Change controls on Ipods to not use the scrollwheel.
- Show instructions (on 320x240 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
Comment by Jonas Häggqvist (rasher) - Friday, 05 October 2007, 18:26 GMT
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)
Comment by Jonas Häggqvist (rasher) - Friday, 05 October 2007, 19:45 GMT
Screenshots for the manual.