Flash Numpty
08-29-2003, 09:12 AM
Hi guys, I'm trying to build a simple formulator 'thing'.
I'm working on making a simple horse racing game which has an incorporated form calculating device.
Firstly you enter the number of horses in the race(10 for eg).
Secondly you fill out the last four race results for each of the 10 horses, points are given depending on the result and are added together as a total for each horse. The one with the lowest number should therefore have the best form and should be 1st past the post. It is this adding together of each horses total points that I'm stuck with!? As well as then displaying the infomation in order of which horse should come 1st, 2nd,3rd and so on..... I'm trying to populate arrays and alsorts but I really haven't a clue!..
I would like it coded in such a way that other infomation can be added aswell as the form. But for now I would like to hear any suggestions on how to dynamically set up the code so it gives the result and displays the 1st, 2nd, 3rd order when a button is pressed.
I've atached what I have got so far...... Cheers guys!
I'm working on making a simple horse racing game which has an incorporated form calculating device.
Firstly you enter the number of horses in the race(10 for eg).
Secondly you fill out the last four race results for each of the 10 horses, points are given depending on the result and are added together as a total for each horse. The one with the lowest number should therefore have the best form and should be 1st past the post. It is this adding together of each horses total points that I'm stuck with!? As well as then displaying the infomation in order of which horse should come 1st, 2nd,3rd and so on..... I'm trying to populate arrays and alsorts but I really haven't a clue!..
I would like it coded in such a way that other infomation can be added aswell as the form. But for now I would like to hear any suggestions on how to dynamically set up the code so it gives the result and displays the 1st, 2nd, 3rd order when a button is pressed.
I've atached what I have got so far...... Cheers guys!