Skip to content

Play Tic Tac Toe game with TCP/IP socket connection. Project structure follows MVP architecture. -> Swift 5.0

Notifications You must be signed in to change notification settings

Dhaval1094/DTSocketTicTacToe

Repository files navigation

DTSocketTicTacToe

Screenshot

AppLogo

Play Tic Tac Toe game with TCP/IP socket connection. Log Console on screen is available for showing logs connection, disconnect, failure in connection and data passing with socket. For managing socket programming “GCDAsyncSocket” is used. Apple's native CFNetwork framework is used for manage Bonjour service using NetService. Project structure is using MVP architecture. -> Swift 5.0

Follow the full tutorial here. https://medium.com/@dhavaltrivedi_56634/socket-programming-netservice-gcdasyncsocket-bonjour-for-ios-d01df0b53aca

GameVid

Note: Bonjour is discovering services for devices with the same wi-fi network. So, if you are hosting and joining both with the simulator, there is no problem, but if you are trying to connect simulator and device or device to device make sure both are connected with the same wi-fi network.

About

Play Tic Tac Toe game with TCP/IP socket connection. Project structure follows MVP architecture. -> Swift 5.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published