Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kiishhan/tictactoegame
The simple iOS TicTacToe game without using third-party frameworks!!!
https://github.com/kiishhan/tictactoegame
development game ios ios-app swift tictactoe xcode
Last synced: 23 days ago
JSON representation
The simple iOS TicTacToe game without using third-party frameworks!!!
- Host: GitHub
- URL: https://github.com/kiishhan/tictactoegame
- Owner: kiishhan
- License: apache-2.0
- Created: 2023-03-25T09:38:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T18:31:06.000Z (3 months ago)
- Last Synced: 2024-12-15T21:44:17.846Z (about 1 month ago)
- Topics: development, game, ios, ios-app, swift, tictactoe, xcode
- Language: Swift
- Homepage:
- Size: 8.42 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 |
|:--------------------------:|:-------------------------:|:-------------------------:|:--------------------------:|
| ![](https://github.com/kishanbarmawala/TicTacToeGame/blob/main/Screenshots/demo-ss-1.png) | ![](https://github.com/kishanbarmawala/TicTacToeGame/blob/main/Screenshots/demo-ss-2.png) | ![](https://github.com/kishanbarmawala/TicTacToeGame/blob/main/Screenshots/demo-ss-3.png) | ![](https://github.com/kishanbarmawala/TicTacToeGame/blob/main/Screenshots/demo-video.gif) |---
## 🛠️ Technologies Used
- **Programming Language:** Swift 5.0
- **Framework:** UIKit
- **Design Method:** Storyboard
- **Development Environment:** Xcode (latest version)### Installation
1. **Clone the Repository**
```bash
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](https://opensource.org/licenses/MIT). Feel free to modify and distribute as you see fit.
---
## 📧 Contact
For any questions, feedback, or suggestions, please reach out to me at:
- Email: [[email protected]](mailto:[email protected])
- LinkedIn: [Kishan Barmawala](https://www.linkedin.com/in/kishan-barmawala/)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.---