Fixed cat's game problem