Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fernandospr/android-nearby-tictactoe
TicTacToe game using Nearby Connections API
https://github.com/fernandospr/android-nearby-tictactoe
android jetpack-compose nearby-api nearby-connection
Last synced: 5 days ago
JSON representation
TicTacToe game using Nearby Connections API
- Host: GitHub
- URL: https://github.com/fernandospr/android-nearby-tictactoe
- Owner: fernandospr
- Created: 2022-08-20T17:00:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-05T12:33:02.000Z (over 2 years ago)
- Last Synced: 2024-11-08T10:50:46.420Z (about 2 months ago)
- Topics: android, jetpack-compose, nearby-api, nearby-connection
- Language: Kotlin
- Homepage:
- Size: 146 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# android-nearby-tictactoe
TicTacToe game using Nearby Connections API.### Branches
This is the **final** project branch.
To see the **starter** project, check the [`starter`](https://github.com/fernandospr/android-nearby-tictactoe/tree/starter) branch.
To see the **challenge** project, check the [`challenge`](https://github.com/fernandospr/android-nearby-tictactoe/tree/challenge) branch.
### Running the app
1. Build and run the app on two separate physical devices. You should see the following screen:
2. On one of the devices click "Host", you should see the following screen:
3. On the other device click "Discover", you should see the following screen:
4. After a few seconds, you should see the following screen on the host device:
5. And the following screen on the other device:
6. Play!
### Troubleshooting
Open the Logcat tab to check the logs of the main view model (`TicTacToeViewModel`).