Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chrome Dino Game (pseudocode) - Coggle Diagram
Chrome Dino Game (pseudocode)
Program Launch
Welcome Message and instructs user to "press any key to continue"
checks wifi connection
True
display error message
displayErrorMessage(): displays an error message
checkWifi(): returns true or false based depending on if the user is connected to WiFi or not
False
Displays menu
Checks what option the user selects
Play the Game
game loop
checks if user ran into obstacle
3 more items...
View Stats
Displays the user's stats
Returns to menu on user's command
2 more items...
displayStats(): displays the users data by reading a file containing all of the user data
Controls
Displays the controls
displayControls(): displays the controls
checkUserInput(): checks the user's input using a while loop until given a valid input
displayMenu(): displays the menu
displayWelcomeMessage(): displays the initial prompt