Lisa Smith's Week 5 Psuedo Code

Psuedo Code Flowchart Right-Brain Dominant Interpretation

Part One: Beginning Decisions

Is the game over?
If yes, the user needs to begin the game by typing in a word to be solved.
Word length will be set.
Play begins.

Part Two: Play Begins

The first user event is to pick a letter.
If the letter has been guessed already, the person needs to pick another letter.
If the game is already over, the person will be informed that he needs to restart the game.

Part Three: Pressure Gage Graphics

If the person picks a wrong letter, the pressure gage graphic will update.
The pressure gage graphic will use the graphic that increases the red markings.
One of the graphics numbered 1 through 7.
If the person picks the correct letter the pressure gage graphic will not update.

Part Four: Play Ends

If the person picks the correct letters, the letter will be placed in the allotted space.
If the person picks the incorrect letter, the pressure gage graphic will change adding more red, or less time left.
So two scenarios can happen..
One, the game is won by choosing the correct letters, or the game is lost by running out of time.
If game is lost or won, it is time to begin the game again, which takes us back to Part One.

EDTECH 574 Homepage

Valid HTML 4.01 Strict