im doing a deal or no deal game, i have managed to get the values to randomly appear and be associated with the buttons with duplicates.
my next stage i have got to get the bankers offer, by getting an average to appear from all the buttons currently showing(once they are clicked i need them to hide, and then not be included in the calculation for the offer).
With regards to getting the text on the button into an integer, how do i do this? and once done that, can i make the calculation only include the buttons currently showing??
I thought would be easiest to attach my recent updated code also.