Skip to content

Remove hard-coded symbols and magic numbers#24

Open
MuchtarSalimov wants to merge 1 commit into
mattiadg:masterfrom
MuchtarSalimov:Issue-19
Open

Remove hard-coded symbols and magic numbers#24
MuchtarSalimov wants to merge 1 commit into
mattiadg:masterfrom
MuchtarSalimov:Issue-19

Conversation

@MuchtarSalimov

@MuchtarSalimov MuchtarSalimov commented Oct 15, 2018

Copy link
Copy Markdown

As suggest in #19, I attempted to identify appropriate places to remove hard-coding. Please let me know if any adjustments should be made.

@mattiadg

Copy link
Copy Markdown
Owner

It seems nice, but there is the enum GameState that declares the victory of one of the two players, the draw or game to be continued. Please, use that instead of new constants.

@mattiadg mattiadg mentioned this pull request Oct 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants