In this PWOD we will see how to refactor an existing Java project so that code changes are easier to make. We began this PWOD in class.
Rx: <30 min Av: 30-60 min Sd: 60-90 min DNF: 90+ min
to:
For the final task (adding support for additional command languages besides English), it is recommended you create a CommandWords class.
Once you’ve finished doing the WOD a single time, watch me do it:
Note: video creates a look command for an exit, rather than the current room.
You’ll learn significantly less from watching me solve the practice HW if you haven’t attempted the HW yourself first.
While it’s an achievement to finish the HW no matter how long it takes, you might experience “diminishing returns” if you work longer than the DNF time. Thus, it might be strategic to stop working at the DNF time and watch my solution.
After watching my solution, I recommend that you repeat the HW if you have not achieved at least Av performance. If so, be sure to:
Feel free to keep trying until you make Rx if that’s of interest to you.