-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor into MVC form #1
Comments
~claimed @EricHuang2 ~moderator @CARammelkamp |
This does NOT properly factor the game into MVC form. True, there are three files named Gomoku.java, Controller.java and Viewer.java. But MVC is more than just having three files with those names. It is about SEPARATING GAME LOGIC from GRAPHICS/VIEW logic. And this code does NOT do that. Further, one of the benefits of doing MVC is to be able to have a model that is independent of any view logic, so that it can be unit tested. Note that there is no unit testing. Also, try to play the game. The game has a BUG that the original did not have----note that Gunnar's original, if you get 5 in a row, let's you know visually and with a message on standard output, that you won the game. This version does NOT. So, a future issue is to actually do MVC separate properly, and another is to fix the bug. I would suggest, if the bug can be fixed quickly this quarter, do that only. Otherwise, if a W14 student is taking this on, try to do both.. proper MVC AND fix the bug. |
F16 OK (250 points) |
Instead of one class, break the project up into several classes MVC style. Look at Lab 6 for an example.
~estimated 200
The text was updated successfully, but these errors were encountered: