I currently have got my 22 diffferent boxes to have 22 different values each time form is loaded, i also have managed to make a picturebox appear when a button with the corresponding value is clicked(removed all pics from the attched file due to size) I also have managed to get an average of all the remaining buttons as the bankers offer.
Unfortunatly i forgot that at the start of the game the player needs to be able to choose there own starting box, i need this to then move to the bit where it says "your box:" and this still needs to be included in the bankers offer. I have set a button saying choose, i want the user to click the choose button then click one of the boxes, without the value dissappearing from the game board, and still be included with the bankers offer. This only needs to happen once at the start.
I also need to find a way of making the get offer button only avalible to click at certain points, this is how it needs to go
the user chooses their own box/button first they keep this until the end.
the user then choses to open 5 other boxes (round 1) then an offer is made, id the user clicks deal it ends and goes to another form, if they click no deal(these buttons not been made yet) they continue on to then chose another 3 boxes(round 2), another offer is made the user can again deal or not deal, if no deal they choose another 3 boxes(round 3) thy then continue on for round 4 5 and 6 where they open 3 boxes and an offer made each time. once they are left with 1 box and their own box i need to be able to swap the boxes if the user chooses to and then they need to open their box to relieval the value inside.
As im sure you are aware now, that is quite hard to explain let alone get my head around doing it in code, lol
can anyone give me some help with doing this, would be much appreciated, i have attached the game so far to make this simplar to help
many thanks
J
Unfortunatly i forgot that at the start of the game the player needs to be able to choose there own starting box, i need this to then move to the bit where it says "your box:" and this still needs to be included in the bankers offer. I have set a button saying choose, i want the user to click the choose button then click one of the boxes, without the value dissappearing from the game board, and still be included with the bankers offer. This only needs to happen once at the start.
I also need to find a way of making the get offer button only avalible to click at certain points, this is how it needs to go
the user chooses their own box/button first they keep this until the end.
the user then choses to open 5 other boxes (round 1) then an offer is made, id the user clicks deal it ends and goes to another form, if they click no deal(these buttons not been made yet) they continue on to then chose another 3 boxes(round 2), another offer is made the user can again deal or not deal, if no deal they choose another 3 boxes(round 3) thy then continue on for round 4 5 and 6 where they open 3 boxes and an offer made each time. once they are left with 1 box and their own box i need to be able to swap the boxes if the user chooses to and then they need to open their box to relieval the value inside.
As im sure you are aware now, that is quite hard to explain let alone get my head around doing it in code, lol
can anyone give me some help with doing this, would be much appreciated, i have attached the game so far to make this simplar to help
many thanks
J
Attachments
Last edited: