An engine for a real-time top-down fantasy game