-
Notifications
You must be signed in to change notification settings - Fork 8
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
Resolves #73 #82
Resolves #73 #82
Conversation
@alvarofpp For the implementation of Also, I implemented the methods |
@RickFqt Please mark as solved the modifications that you have already solved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many parts of the code have "magic numbers" (values without an explicit definition). I listed a few in the review, but I think you should create a file with constants to map them all.
Should this new file be on the path |
I don't think so. Constants are generally used in many parts of the project, so it is recommended to apply them to a single file or use |
In that case, is the path |
Yes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ProstossState
, TerranState
and ZergState
classes have a lot of repeated code. I think it would be better to create a StarCraft2State
class with this repeated code and have the race classes inherit from it.
Resolves #73. When complete, this pull request should have:
ProtossState
,TerranState
, andZergState
classes.