Stanford CS106A Final Project - Word Guessing Game

by Robert H


For my CS106A final project, I went with the standard Word Guessing game, which is like the game Hangman. In my implementation, I have 2 helper functions and 1 main function. The helper function get_word() chooses a random word from the LEXICON_FILE, which is encoded with dashes in the main function and the helper function play_game() displays the current state of that encoded word throughout the game.