Open
Conversation
README.md에 구현 요구 사항 및 구현할 기능 목록 추가.
Now a board data is stored in 2-dimensional list and added some functions to bind table layout with the list.
Board class has responsibility to manage actual data related with omok board. Now it has a feature to check if a stone can be place at given coordinate.
Board class has responsibility to manage actual data related with omok board. Now it has a feature to check if a stone can be place at given coordinate.
… methods to handle player input on board GameViewModel contains board object. GameViewModel controls states and data about current omok game upon user controls and show results to the activity to reflect changes into UI.
…e is part of omok Added new methods to $board: - getLengthOfSerialOccurrence - getLongestLineLength to get length of longest line of same stones crossing the point. Added a new method to $gameViewModel: - checkOmok Added new methods to $main: - checkOmok - notifyWinner reformatted some codes.
now the layout spans vertically as well.
Added a new method to $gameViewModel: - reset Added new methods to $mainActivity: - clearTable - clickNewGameButton Added reset button to the main activity layout.
$board: separated getLengthOfLine method.
when omok was made, gameResultDialog pop ups to show the result.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.