How to Use Voronoi Diagrams for Artificial Intelligence in Games