ISU Term 1 Culminating Activity Proposal
- Etienne Caronan
- Nov 25, 2015
- 1 min read
I have decided to make a game modelled after the reality game show "DEAL or NO DEAL". The player is to start the game by picking a briefcase which is to be opened last. After picking that briefcase, the player is to pick 3 cases and after that the dealer makes an offer based off of the unopened cases. This step is repeated until there is 2 cases left. Once this happens the player gets to open 1 of the 2 cases and gets to win the amount inside it.
If intstructions are not clear here's a video that might help explain it. https://www.youtube.com/watch?v=_eZ4d3DKDqM

VISUAL BASIC CODE:
For this ISU I am required to use all of the knowledge that I have attained throughout this semester. This project requires the use of:
- Listboxes (for the cases)
- Sub procedures (dealer's offer)
- Arrays(for the cases)
- Buttons
- If's and Loops
PSEUDO CODE:
amount of cases = 26
case = const var = 0
user picks 3 cases
if cases = 3 then call a sub procedure
sub procedure offer
offer = case value / remaining amount of cases
--------------------------------------------
dealer shows player offer
'player has two options: deal or no deal'
deal = user goes home with (offer)
no deal = user keeps playing until two remaining cases
If remaining cases = 2
user picks 1 of the 2 cases
if user picks case 1 then case1 val = the amount player wins
if user picks case 2 then case2 val= the amount player wins
end game
Comments