It may sound like an amateurish question, but it's driving me nuts.
I have to program a situation where a user can specify how many elements of a certain operation are run.
For instance having a mock horse race where there are seven horses (a, b, c, d, e, f, g ) and the winner is randomly calculated and the horse objects are contained within the method raceBegins
But what if user says 'oh no, I only want 5 horses to race' how do I go about stopping the other other horses from interfering with this result?
I am afraid I have come at this problem all wrong...