Skip to content

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

Open
ksc1008 wants to merge 12 commits intonext-step:mainfrom
ksc1008:ksc
Open

[경북대 Android_ 권성찬] 미션 제출합니다.#20
ksc1008 wants to merge 12 commits intonext-step:mainfrom
ksc1008:ksc

Conversation

@ksc1008
Copy link
Copy Markdown

@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