C. Code Representation (Algorithm, Flowchart, or Pseudocode)

Pseudo-code for Game:

  1. User is met with a home screen containing options…
    1. Play the Game
    2. Rules/Instructions
    3. Statistics
    4. Credits
  2. If user presses play game, the game begins and a 60 second timer starts
  3. The game will start and objects will began floating to the top of the screen, where a stick figure is (Dip), and the user will have to tilt the proteus avoid the obstacles
  4. If the user tilts the screen left, the stick figure will move left on the top of the screen and vis versa
  5. If the player gets hit once, a message will appear that says “Dip’s Health 50%”. And if he is hit twice, then a message will appear saying “Game Over, RIP Dip *age*” and his age will appear by using the TimeNow() commands to display his age of death
  6. When the game is over, the player will be met with the home screen again
  7. If the user opens the “Rules/Instructions” page, a page explaining the tilt controls and what the objective of the game is. At the bottom of the page, there will be a “Return to menu” button
  8. If the player chooses the “Statistics” menu, a new screen with the total games, and total time played will appear and another return to menu will be there
  9. If the player chooses the “Credits” menu, a new screen with the developer information will appear