I'll just get straight to the point; I want to know how many independent trials are required to get an outcome(?) of 10. The situation is that I have an 80% success rate and I increment x by 1, however if I fail I decrement x by 1. How many times does this have to run before I reach 10? x starts at 0.
I have no idea how to set this up and no it's not for school but for a game I play.