WK 04 Learning journal The Project Review with fellow classmate Isaiah
Project 1 Review
With whom did you work?
I partnered with Isaiah Suarez.
What was your strategy for solving the assignment?
I spent about 20 minutes sketching the class hierarchy and main workflows on paper—mapping out Monster’s methods and how each subclass would supply stats—before writing any code.
Did you start writing code right away? Did you plan it out on paper?
I planned on paper first. Isaiah, by contrast, dove straight into coding.
What was THEIR strategy for solving the assignment?
Isaiah referred back to the professor’s UML diagrams as needed and iterated quickly in the IDE without formal upfront planning.
How would you change your strategy having worked on the assignment?
Next time I’ll still paper-plan but also write an initial unit test (TDD style) before coding, while keeping the UML diagram handy.
According to your classmate(s): how well does your code follow the Google Java Style Guide?
Isaiah confirmed it largely follows the guide—two-space indentation, camelCase names, Javadoc on public methods, correct brace placement—with only one helper-method name exceeding the 30-character recommendation.
Did you know you can automate applying some of the style guide rules?
Yes—by integrating the Google Java Format tool (as a Gradle plugin or IDE extension) to auto-reformat on save or before commits.
What was the most challenging part?
Implementing the elemental-type damage system in the abstract Monster class—combining multiple modifiers with dice-roll damage while preserving precision—was the toughest.
What was the most interesting?
Building out the four subclasses (WeirdTurtle, FlowerDino, FireLizard, ElectricRat) and seeing their unique stats alter combat dynamics, plus writing a dynamic toString() that lists elemental types at runtime.
What are you the most proud of?
The clean separation of concerns: shared behavior in Monster, stats in each subclass, and randomness encapsulated in utilities.Dice—a modular, extensible design.
How did you celebrate completing the assignment?
I took my girlfriend out for sushi since I hadn’t seen her all week. Isaiah celebrated by spending time with his family and binge-watching anime.
Comments
Post a Comment