Presentation is loading. Please wait.

Presentation is loading. Please wait.

Potions Project By Francis Mayen.

Similar presentations


Presentation on theme: "Potions Project By Francis Mayen."— Presentation transcript:

1 Potions Project By Francis Mayen

2 Enter your name

3 Combo boxes, Images, Labels, counters, and a button

4 Combo boxes Combo boxes display their corresponding picture when a selection is changed

5 Results The brew button displays your results and htns

6 Notes Label Keeps a log of what you have already guessed in that section

7 Level Up!

8 Visible A fourth group

9 New Items

10 Level 3 More Items Higher Cost Five Ingredients

11 Level 4

12 Not Enough Coins

13 End of game

14 Start over Back to three groups Coins back to 100 Back to Level 1 Back to witch strength Need to fix: Resetting costs

15 Exit

16 Flow Chart

17 Toe Chart Task Object Event 1 Add items to combo boxes on load main
Task Object Event 1 Add items to combo boxes on load main Load 2 Start coin count at 100 Start Witch Strength as Ammateur witch Start level counter at 1 3 Get Random numbers * change displayed picture cboItems Change compare selected items to corresponding random numbers btnCheck Click If all selected items are equal to corresponding random number: pop-up box congratulating on winning * coin count goes up get new random numbers for new game for levels 2 and three unhide cbo box, pic 4 and 5, and list of Notes Level counter goes up Else If If any selected item is equal to corresponding random number: change displayed picture to checkmark Else If selected item is equal to any random number change displayed picture to "almost" Else change display picture to "X" mark Your coin spent surpasses available coin at hand Message box letting you know you ran out of coins Reset combo boxes/pics and lists - hide box 4 and 5 Reset level counter to 1 Coin counter goes down according to cost of ingredients End the application btnExit Toe Chart

18 Pseudo Code btnCheck event procedure
1 compare selected items to random numbers If cbo1 == random number1, and cbo2 == random number2, and cbo3 == random number3 display message box "congratulations, you guessed right!" calculate total coins = coins * # (depends on level) Lvl counter +=1 get new random numbers for random number1, radom number2, and random number3 unhide the next box (either 4 or 5 depending on level) Else if cbo1 = random1 picture box.frame = 3D hide cbo box and notes list calculate total coins depending on cost of ingredient cbo1 = random2 or random3 picture box.item = "almost" cbo2 = random2 cbo2 = random1 or random3 cbo3 = random3 cbo3 = random1 or random2 Else picturebox.item = "X" Pseudo Code


Download ppt "Potions Project By Francis Mayen."

Similar presentations


Ads by Google