This project is a Tic Tac Toe game developed in Swift, offering both single-player and multiplayer game modes. The multiplayer mode uses MPCHandler to allow play between two different devices.
- Singleplayer Mode: Play against a smart system on the same device.
- Multiplayer Mode: Connect two devices through MPCHandler to play against each other in real time.
- Swift
- MPCHandler for multiplayer connectivity.
To run this project, you will need Xcode installed on your macOS machine. Follow these steps to set up the development environment:
- Clone the repository: git clone https://github.com/rcarlosjorge/TicTacToe.git
- Open the
TicTacToe.xcodeproj
file in Xcode. - Select the simulator or connect an iOS device to install the application.
- Press the Run button in Xcode to start the application.
- Singleplayer: Select the singleplayer mode from the main menu to start the game against the computer.
- Multiplayer: Select multiplayer mode and make sure both devices are visible for connection. Follow the on-screen instructions to connect the devices.