Subject: [bug#54476] [PATCH] gnu: games: Add robotfindskitten.

From: Liliana Marie Prikler <[email-masked]>
Date: Mon, 28 Mar 2022 20:34:41 +0200

Am Montag, dem 28.03.2022 um 16:56 +0300 schrieb Roman Riabenko:
> Hello
> 
> I thought that I was working around a local implementation of
> ncurses, but now I am convinced that there is a local bug, which I
> filed a report against. See issue 54607. [1]
> 
> [1]: https://issues.guix.gnu.org/54607
> 
> Assuming that the bug will be fixed, there is no need for the snippet
> which I proposed in previous patches. I attach a new patch to add
> robotfindskitten, which is my offer in place of previous patches.
For the record, you are still allowed to patch the source in a snippet
or build phase, but you should add a comment referring to this bug when
doing so.

> Meanwhile, even with that bug not being fixed, robotfindskitten is
> still playable. It is just monochrome, which is a mode natively
> supported by the game design.
Is that purely an aesthetic choice or are there other things to
consider w.r.t. your previous phase?  If "monochrome" means black on
white or vice versa and the game only needs those colors, then sure,
waiting for ncurses to be fixed might be the wiser option.

> +              (uri (string-append "https://github.com/"
> +                                  name
> +                                  "/"
> +                                  name
> +                                  "/releases/download/"
> +                                  version
> +                                  "/"
> +                                  name
> +                                  "-"
> +                                  version
> +                                  ".tar.gz"))
Guix style does not always result in the best possible indentation and
is to be taken with a grain of salt.

> +    (synopsis "Zen Simulation of robot finding kitten")
> +    (description
> +     "In this simulation, you play the part of robot.  Your task is
> to
> +complete the simulation by finding kitten, as is your destiny, and
> indeed your
> +wont.  You (robot) are represented by the # character, and you move
> around with
> +the arrow keys touching things.  If the thing you touch is kitten,
> you get a
> +cute little animation (which was cuter in the DOS version) and the
> simulation
> +ends.  Otherwise, you get a brief description of what it is you
> touched.")
Again, this synopsis and description need some love (grammatically
speaking), but it should also cut down on advertisements for
proprietary systems.

Cheers