Skip to content
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

[경북대 Android_ 권성찬] 미션 제출합니다. #20

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

ksc1008
Copy link

@ksc1008 ksc1008 commented Jun 3, 2024

No description provided.

ksc1008 and others added 12 commits May 28, 2024 17:19
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.
when omok was made, gameResultDialog pop ups to show the result.
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.

1 participant