finished game with AI, maps, and collision detection