I love the game Blood Bowl by Games Workshop. In this demo, I implemented A-Star
to find a path across a 2D grid with dimensions identical to a Blood Bowl pitch. I used the
Manhattan Distance heuristic with opponent-avoidance in this implementation.
This demo is controlled via a cooperative multitasking scripting system built with Lua. Entities make sounds when you click on them. |