Horse Race Simulation
You'll have to provide more detail. Without any description, this
sounds like something that would be better suited for Java, you could
have a horse object with certain attributes and methods. Then you
would create several instances for each horse, and set them off
interacting with each other, with a bit of randomness in between. The
horse methods (e.g. "attempt to pass") would be dependent upon the
locations of the other horses on the track, and whether the horse
location was on a straightaway or a turn. Then you'd have to setup a
graphical representation of the race. But that's just a guess. I
don't know exaclty what you mean by setting up a simulation. If you
just want win/lose data, you could just use Excel. Again, more info
needed.
|