Appearance
CS101 Word Game: Zain's Word Guesser
python
import zainswordguesser.MyWordGame as wg
words = wg.WGLib.parseWordsFile('lowerwords.txt')
wg.startSession(words)Brief Description:
Guess the secret word by entering your own words and you will get feedback! You will either get "G" which means you guessed the correct letter in the corret postion, "Y" which means correct letter wrong postion, or "_" which means the letter you guessed which is not there.
Settings:
Word Length: Choose how many letters the secret word will have from 3-8. Attempts: Choose how many attempts you will have to guess the secret word from 3-10.
Rules of Play:
Choose the length of the word you want to guess and the number of trails you get. The game then selects a word of your chosen length and each turn you enter a word of the chosen length. Then you get the feedback of either "G","Y", or "_" after each guess. You win by guessing the word before you exceed your chosen atempts. If you win, your score is is 1 plus the number of attempts remaining and if you lose your score is 0.