Zhangjason308 / SYSC3110-GROUP34

Scrabble Board Game For Group 34
0 stars 1 forks source link

M2 Feedback #6

Open MikeVezina opened 1 year ago

MikeVezina commented 1 year ago

Same as brightspace:

General:

I followed the instructions from the readme file If it helps to debug, I ran the game with 'java -jar ScrabbleGame.jar'  I could not test game play extensively because of this

Documentation:

-Some sequence diagrams are trivial and unnecessary. Only Play and swap letters are useful. Maybe consider sequence diagrams for different 'play' sequences (valid vs invalid word vs branch word, etc).

Code Smells:

-You have business logic (such as getBranchWords, etc) in the controller. These functions should be in the model. The controller should be very light-weight and just delegate to the model.  -Strings with specific meaning in your code (such as "Skip") should be represented with a constant -Controller's actionPerformed method is long and contains logic that can be split into sub-functions

Good job with testing, and taking M1 feedback into account.

Zhangjason308 commented 1 year ago

Thanks Michael!