Skip to content

ExclMark/SwiftTicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftTicTacToe

Demo Swift Application - TicTacToe with Minimax algorithm

TicTacToe supports both Player vs AI (Minimax) and Player vs Player modes. You can change the mode using picker at the top of the screen.

UI supports both dark and light screen modes.

Buttons when pressed will give a haptic feedback, that can be toggled on or off using small button with phone icon at the top-left corner.

Small info button at the top-right corner will display application name, short description, and URL to this GitHub repository.

Usage

  • Clone the repo: git clone https://github.com/ExclMark/SwiftTicTacToe.git or download the zip.
  • Open the directory in XCode
  • Run the code

Preview:

Player vs AI Player vs Player
Screenshot 2023-09-07 at 16 11 01 Screenshot 2023-09-07 at 16 11 44

Requirements:

  • Xcode ver. 14.3.1 or above
  • Swift ver. 5.8.1 or above
  • IOS 14 or above