Created
October 7, 2015 23:06
-
-
Save tiltedlistener/f272434825c0cc8ab5a4 to your computer and use it in GitHub Desktop.
Prep code for Hangman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Prep Code | |
*/ | |
// PICK A WORD | |
// LOOP | |
// LET THE PLAYER GUESS | |
// IF GUESS == TRUE | |
// CHECK IF WORD IS COMPLETE | |
// YOU WIN | |
// ELSE | |
// CHECK IF OUT OF GUESSES | |
// YOU LOSE | |
// ELSE | |
// SUBTRACT A GUESS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment