Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Project: Graph TicTacToe mobile app build with .NET MAUI #184

Open
tavikukko opened this issue Mar 15, 2023 · 2 comments
Open

Project: Graph TicTacToe mobile app build with .NET MAUI #184

tavikukko opened this issue Mar 15, 2023 · 2 comments
Labels
hack Hackathon project submitted by participants

Comments

@tavikukko
Copy link

Project name

Graph TicTacToe mobile app

Description

Tomi and Marcin presents: Graph TicTacToe !

hacktogether

This is our project for Graph Hack together

Simple mobile app to play tic tac toe with colleagues.
We use AAD app to login to a tenant. Once we're in, You can create new game which will create a game file in root site collection in document library in TicTacToe folder.

Game state is represented as a json file. When user makes a move our app updates the state and the file, opponent is pooling for updates on specific documents and once it detects the file has changed it updates app state. We are using graph endpoints to upload, modify and download game state file.

When user awaits opponent move, we send a request each second to graph api to get etag for a file and compare it with file metadata already stored in app memory, once etag changes (opponent made a move) we update local state and stop pooling

Simulator Screen Shot - iPhone 14 Pro - 2023-03-15 at 18 40 27
Simulator Screen Shot - iPhone 14 Pro - 2023-03-15 at 18 40 52
Simulator Screen Shot - iPhone 14 Pro - 2023-03-15 at 18 41 26
Simulator Screen Shot - iPhone 14 Pro - 2023-03-15 at 18 42 48

Repo URL

https://github.com/mgwojciech/TW.M365.GraphHack

Team members

@tavikukko,@mgwojciech

@waldekmastykarz
Copy link
Collaborator

So cool! Thank you for your submission gents. Would you mind recording a short video that shows it off? It's not required for the hackathon but it would help us show your work internally and publicly.

@waldekmastykarz waldekmastykarz added the hack Hackathon project submitted by participants label Mar 16, 2023
@tavikukko
Copy link
Author

Screen.Recording.2023-03-16.at.16.57.36.mov

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
hack Hackathon project submitted by participants
Projects
None yet
Development

No branches or pull requests

2 participants