$x$ is the position at the beginning. That's the variable that defines the probability of ending the game at 1. Of course, each step the position will change, but that doesn't change the initial value of $x$.
Thanks
reply