CST338 – Software Design Week1
In week 2,
I worked on the first homework to build a guessing five-word game, Jotto. At
the beginning of working on this program, I felt it would be challenging to
come up with an entirely working code. I figured that I just needed to get the
basics of the code written quickly and work towards a strategy that fixes every
method. Dr.C posted an office hour video that shows building the menu of
choices in Java and how to read from a file. This was definitely a good head
start that explained the strategy behind implementing exception handling when
working with files. I faced issues with almost every method especially the
method showPlayerGuess(). For some reason, it was confusing to implement.
Another challenge I had was related to the pickword() method. I had the logic
implemented as an IF-Statement, but it was not passing for me. I ended up using
a while loop to correct this issue. I also used office hours and received help
from our TA. She is super helpful and understands the material well, and she is
very responsive and eager to help. Overall, I learned a lot this week about
inheritance, interfaces, and abstracted classes.
No comments:
Post a Comment