AdamCon 0Ch - AI movement strategies
In the following example, select it, and use the arrow keys to move the
hero around. Then hit 1, 2 or 3 for:
and watch the Yellow Bad Guy persue the Purple Hero. The bad guy gets to move
one square for every move the hero makes.
- 1 - random walk
- 2 - seek
- 3 - evade
The Java source is here: Maze.java (use shift left-button to download it.
Send comments to firstname.lastname@example.org