added AI screen and AI game loop