D. Final Algorithm, Flowchart, or Pseudocode

UltraQuest Blackjack

 

1. Start
2. Deposit Cash Into Account.
3. Place Bet
4. Shuffle Cards
4. Deal Cards
5. Count Card values
(Keep track of soft [ace] hands)
6. User input > (first pass)Split, (first pass) Double-down , Hit or Stay
7. Deal
8. Count Card values
9. End Loop on stay or bust (card value > 21)
10. dealer reveals card.
11. hits until over 17 (dealer hits on soft 17)
12. Decide who wins.
13. Add/deduct bets
14. Ask to play again?
15. if yes, go to 3
16. if no, (pay out) & exit

 

UltraQuest

 

1:Ask for Class of 4 Party Members

2: Go To Forest Temple

3: If All Members Health Go to Zero During any Battle Go to 17

4: Defeat Boss Go to 5

5: Go to Water Temple

6: If all Members Health Go to Zero During any Battle Go to 17

7: Defeat Boss Go to 8

8: Go to Fire Temple

9: If all Members Health Go to Zero During any Battle Go to 17

10: Defeat Boss Go to 11

11: Go to Sky Temple

12: If all Members Health Go to Zero During any Battle Go to 17

13: Defeat Boss Go to 14

14: Go to Shadow Temple

15: If all Members Health Go to Zero During any Battle Go to 17

16: Defeat Final Boss Go to 18

17: Game ends, Player loses

18: Game ends, Player wins