Game stops letting AI make a move after the game is over