Requirements: You'll need two devices (device A and B) and the game installed on both in order to play.
-
In the A device click on Create Room button.
-
Type a room name and click Next.
-
In the B device click on Join Room button.
-
Then click in the room name that should appear in the device list.
-
On A device click to start a match Next button.
Well, about the Tic Tac Toe rules I guess are pretty well-known, but just in case: wikihow.com/Play-Tic-Tac-Toe.
This project was built on top of nsd package maintained by @sebastianhaberey which I sincere thanks for the efforts to make this package accessible for everyone.
I wanted to know to create an app which allow P2P communication over a local network. I often had ideas about spaceships, puzzle games and (g)old classic retro games re-implementations, but didn't even know how to create a connection between a device to another, so this project was just "a test" to take a look at how to do it.