Actually, by editing the ratio of the word patterns (ex. Consonant-Vowel-Consonant, Vowel-Consonant-Vowel, etc.) I was able to improve the ratio of valid words to above 50%, so I didn't think it was...
Type: Posts; User: Jchang504
Actually, by editing the ratio of the word patterns (ex. Consonant-Vowel-Consonant, Vowel-Consonant-Vowel, etc.) I was able to improve the ratio of valid words to above 50%, so I didn't think it was...
Thanks, this is an enormous help. I could just run this program once, removing "//" from the print statements, and then i would know how many lines there are and I wouldn't need the first half or so...
Well I realize that my program generates good words only about 25% of the time, and I want that number to be something more like 50%. I thought maybe I could use a Random to select a word from the...
Yes, I did change the System.out.println() statements so that I wouldn't need the console window. I like to run .jar applications from the desktop. Thanks for clearing that up. I will now mark this...
What I meant when I asked if the command to print the error was necessary was, will omitting it impair the program's function in any way? My understanding is that this command is used to display the...
Thank you so much for the help! I don't fully understand try blocks and stuff yet, so I'm not exactly sure what all this means, but as long as it works, I'm fine with it. I am thinking of adding a...
You see, the program itself generates random word combinations. The text file contains all the valid three letter words that are acceptable in Scrabble. The text file is used to check the random word...
Well here's the second results screen error:
I will attach a set of pictures to help you understand. The first set (appended with (1)) demonstrates the error that occurs when the initial word that is asked is a good word. When you click on...
Oh, right. I forgot about that. The file is a dictionary file containing a little less than a thousand words and their definitions. It's too big to attach to a post, but it can be found here:
...
Note: It's probably the loops at the bottom causing the problem - the top is just the random word generator formula and things.
My program is a quizzer which quizzes people on Scrabble three-letter words (which are quite bizarre and there are just less than 1000 of). Everything seems to be working the way I want it to, but it...