Appearance
CS101 Word Game: Guess my secret word
python
import guessmysecretword.MyWordGame as wg
words = wg.WGLib.parseWordsFile('lowerwords.txt')
wg.startSession(words)Brief Description
Guess the secret word within a given number of attempts. Each incorrect guess gives a clue on how close to the secret word your guess is. Your score is based on how many attempts
Settings
Word length = allow user to choose how long they wish the secret word to be (4-8 letters) Difficulty = choose how many attempts the user gets (Easy:8, Medium:6, Hard: 4)
Rules of Play
The game will select a random word from lowerwords.txt of the users chosen length User has a limited number of attempts to guess the word After each guess, user sees how many letters in correct position and correct letters in wrong position Score increases with each guess (value depends on number of letters correct and number of letters in correct place, with a bonus for correct full word ) Game ends when turns run out or user guesses word