Menu

#5 Change reactions to have a hierarchical preference setting

open
nobody
6
2012-07-18
2008-03-22
No

The current reaction grid (Friend/Foe) works fairly well, but ignores the need to react to Hazards. Try a rewrite that uses two levels of priorities: one for element type, the other for the actions.

Default for first priority should be Enemy, Friend, Food, Hazard, Mouse. Defaults for second priority can be (respectively): Forward, FollowFriend, FollowFood, Left, FollowMouse.

Discussion

Anonymous
Anonymous

Add attachments
Cancel