Fixed AI making a move when a player has placed his last card