
I added in a handicap which takes into account the average speed, time, wins and losses for all races for each dog as well as whether or not the dog became exhausted from the prior race. I also changed the color of the dogs (and added a 5th dog), The stats bar to the right lists both stats from the prior race and stats over the dogs' lifetimes. At the bottom is a historical winners bar which includes the dogs name and time the dog won the race by.
The book uses a random amount for each stride, I found the races ran much smoother creating a speed variable for each dog, and adding to it with an acceleration variable (which maxed out at a set limit).
I also created a betting window class rather than a bets class which counts down to the next race, posts to the historical winners board, sets the odds, and starts the race when its timer reaches 0.
If anyone has any questions feel free to ask.
-Stephen











