rcarlosjorge / TicTacToe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tic Tac Toe

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.

Features

  • 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.

Technologies Used

  • Swift
  • MPCHandler for multiplayer connectivity.

Installation

To run this project, you will need Xcode installed on your macOS machine. Follow these steps to set up the development environment:

  1. Clone the repository: git clone https://github.com/rcarlosjorge/TicTacToe.git
  2. Open the TicTacToe.xcodeproj file in Xcode.
  3. Select the simulator or connect an iOS device to install the application.
  4. Press the Run button in Xcode to start the application.

How to Play

  • 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.

About


Languages

Language:Swift 100.0%