This preview shows page 1. Sign up to view the full content.
Unformatted text preview: A reflex agent for pacman (2) s While(food left) s Sort the possible directions to move according to the amount of food in each direction s Go in the direction with the largest amount of food Reflex agent...
View Full Document
- Spring '08