AI based two player pacman game written using C++