How to start and not be overwhelmed
Build the program in stages and get it to "work" at each stage before moving on. Suggested stages:
- Main components (including public static void main and the two ending }'s). Add in some constants. Compile. Don't move on until it compiles cleanly
- Add in code to get the file name from the user. Compile. Use class examples as guides
- Add in code to open the file (don't forget the throws exception). Compile and make sure it runs.
- Add code to read a number from the file and print it, one at a time. Make sure this works. (Don't worry about the end of lines)
- Add code to ask the user to guess the color and count correct guesses. Make sure this works.
- Work on dealing with a line at a time (this is via a nested loop). See class examples for some help here.