The Solution for the Wins-[X]-in-a-Row Dilemma