GameAI class handles win situations