Here are some example runs of the word scramble game.
{Example game: Y A I E O V}
Welcome to word scramble! Try to make as many words as you can with the given letters! Words must be at least 3 letters long. Is player 1 ready (yes or no)? not yet Is player 1 ready (yes or no)? one minute Is player 1 ready (yes or no)? hold on Is player 1 ready (yes or no)? ok ready Is player 1 ready (yes or no)? yes Your letters are: Y A I E O V Enter your words (enter 'q' when you are ready to quit): ova wow so many vowels! yave yoo aieee q Sorry, you had some invalid words: "wow so many vowels!" is not a valid word "yave" is not a valid word "yoo" is not a valid word "aieee" is not a valid word Welcome to word scramble! Try to make as many words as you can with the given letters! Words must be at least 3 letters long. Is player 2 ready (yes or no)? yes Your letters are: Y A I E O V Enter your words (enter 'q' when you are ready to quit): veto viva ivory yo yoo q Sorry, you had some invalid words: "yo" is too short "yoo" is not a valid word "veto" uses letters which are not available "ivory" uses letters which are not available FINAL OUTCOME: Player 1 found 1 words. Player 2 found 1 words. You tied!
{Example game: U A G M V Y}
Welcome to word scramble! Try to make as many words as you can with the given letters! Words must be at least 3 letters long. Is player 1 ready (yes or no)? yes Your letters are: U A G M V Y Enter your words (enter 'q' when you are ready to quit): gum gummy mug muggy mauve yam q Sorry, you had some invalid words: "gummy" is not a valid word "muggy" is not a valid word "mauve" is not a valid word Welcome to word scramble! Try to make as many words as you can with the given letters! Words must be at least 3 letters long. Is player 2 ready (yes or no)? yes Your letters are: U A G M V Y Enter your words (enter 'q' when you are ready to quit): magma guy q Sorry, you had some invalid words: "magma" is not a valid word FINAL OUTCOME: Player 1 found 3 words. Player 2 found 1 words. Player 1 wins!