Skip to content

Latest commit

 

History

History
85 lines (53 loc) · 3.2 KB

README.md

File metadata and controls

85 lines (53 loc) · 3.2 KB

Tic Tac Toe Game

A native iOS Tic Tac Toe game developed using the UIKit framework without relying on SpriteKit or any third-party libraries.


🌟 Description

This project features a classic Tic Tac Toe game that allows two players to compete against each other on a 3x3 grid. The game is built entirely in Swift 5.0, utilizing Storyboards for its user interface design. The primary goal is to provide a simple and engaging experience while also serving as an educational tool for beginners learning iOS development.

Key Features

  • Two-Player Mode: Play against a friend in a competitive environment.
  • User-Friendly Interface: Intuitive design with clear visual cues for winning and drawing scenarios.
  • Reset Functionality: Easily restart the game after each round.
  • Simple Logic: The game implements straightforward game logic, making it easy to understand how the game progresses and determines a winner.
  • Educational Purpose: Designed for those who want to learn iOS development fundamentals through hands-on experience.

📱 Screenshots

Preview 1 Preview 2 Preview 3 Preview 4

🛠️ Technologies Used

  • Programming Language: Swift 5.0
  • Framework: UIKit
  • Design Method: Storyboard
  • Development Environment: Xcode (latest version)

Installation

  1. Clone the Repository

    git clone https://github.com/kishanbarmawala/TicTacToeGame.git
    cd TicTacToeGame
  2. Open in Xcode
    Open the .xcodeproj file in Xcode. Make sure you have Xcode 13+ installed.

  3. Run the App
    Connect a simulator or a physical device, then hit Run (Cmd + R).


🎮 How to Play

  1. The game starts with an empty 3x3 grid.
  2. Player 1 (X) and Player 2 (O) take turns tapping on the grid to place their markers.
  3. The first player to align three markers horizontally, vertically, or diagonally wins.
  4. If all spaces are filled without a winner, the game ends in a draw.
  5. Use the reset button to start a new game at any time.

📜 License

This project is licensed under the MIT License. Feel free to modify and distribute as you see fit.


📧 Contact

For any questions, feedback, or suggestions, please reach out to me at:

Your thoughts are greatly appreciated!


🤝 Acknowledgements

  • Thanks to the iOS development community for their ongoing support and resources.
  • Special thanks to the educators and mentors who inspired the development of this project.