Ignore:
Timestamp:
Aug 31, 2009, 10:20:27 PM (11 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Convert:
svn:b4e93282-eac8-4b8b-b765-0f5d36de2b68@72
Message:

Expand comment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gamelib/animal.py

    r70 r71  
    116116        min_path = direct_path
    117117        # is there a point nearby that gives us a cheaper direct path?
     118        # This is delibrately not finding the optimal path, as I don't
     119        # want the foxes to be too intelligent, although the implementation
     120        # isn't well optimised yet
    118121        poss = [Position(x, y) for x in range(self.pos.x - 2, self.pos.x + 3)
    119122                for y in range(self.pos.y - 2, self.pos.y + 3)]
Note: See TracChangeset for help on using the changeset viewer.