← Back to team overview

registry team mailing list archive

[Bug 574212] Re: Nibbles - Unexpected Death

 

Hi,

I had this problem often, so I had a look at it this week - here is a
patch.  :-)

The problem was that when an AI worm ate a diamond, which reverses all
other players, the calculation to determine which direction you were now
moving in was incorrect.

If your worm was moving in a straight line (imagine a short worm with no
kinks) say right, then the direction assigned after reversing would also
be right and the new head/old tail would run in to the body of the worm.

The correction is a very straightforward, hopefully it can be merged
quickly.


** Patch added: "gnibbles patch for reverse bug in worm.c"
   http://launchpadlibrarian.net/52045966/patchfile.patch

-- 
Nibbles - Unexpected Death
https://bugs.launchpad.net/bugs/574212
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for GNOME Games.