Sorry Jesse, I should have been much more specific about what it was I was asking for. With respect, I am most certainly not green when it comes to programming :o) I know all of the basic programming such as setting up graphics, detecting the mouse position etc etc. the thing that is troubling me is me is the actual calculating of a random sum. For example I would just like to know how to do the following:
1. CPU generates a random total, for example the number 18.
2. CPU then generates some random numbers such as 9, 5, 4, 9 & 2. Some of the numbers will add up and others will not. Obviously the correct numbers to keep here would be 9 & 9. You would whack away the numbers 5, 4 & 2 to finish the task.
3. Repeat step 1
Thank you for your co-operation Jesse, it is very much appreciated :o)
1. CPU generates a random total, for example the number 18.
2. CPU then generates some random numbers such as 9, 5, 4, 9 & 2. Some of the numbers will add up and others will not. Obviously the correct numbers to keep here would be 9 & 9. You would whack away the numbers 5, 4 & 2 to finish the task.
3. Repeat step 1
Thank you for your co-operation Jesse, it is very much appreciated :o)