Skip to content

A simple Tic Tac Toe game built in Swift! This project is part of our journey to master iOS development and Swift programming. We’re learning by building a fun, interactive game, adding features weekly, and practicing good coding and collaboration habits.

Notifications You must be signed in to change notification settings

JJ-codes-9/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

🕹️ Tic Tac Toe

A simple Tic Tac Toe game built in Swift! This project is part of our learning journey as we master Swift programming by building a fun and interactive game. Each week, we commit updates to add new features and refine our code.


🌟 Features

  • 🎮 Player Switching Logic: Alternate turns between Player X and Player O.
  • 🖼️ UIKit Integration: Basic UI setup for the game board.
  • 🧑‍💻 Core Swift Concepts: Practice with enums, structs, and other fundamental Swift programming techniques.

🚀 Getting Started

Prerequisites

  • Xcode: Version 13 or later.
  • macOS: Big Sur or later.

How to Run the Project

  1. Clone the repository:
    git clone https://github.com/jj-codes-9/tic-tac-toe.git
    

🎯 Project Goals

This project is designed to help us practice and strengthen our skills in:

  • Swift Programming:
    • Enums, Structs, Properties, and Methods.
    • Object-Oriented and Functional Programming Concepts.
  • iOS Development:
    • Building UI with UIKit.
    • Handling Player Interaction with Buttons and Views.
  • Git Workflow:
    • Collaborating on a shared repository.
    • Writing clean and reusable code.
    • Managing version control effectively.

🔮 Planned Features

Here’s what we plan to implement in upcoming commits:

  • Win Detection Logic: Determine if a player has won or the game is a draw.
  • 🔄 Game Reset: Add a "Restart Game" button.
  • 📊 Scorekeeping: Track wins for each player.
  • 🤖 Single Player Mode: Implement a basic AI for Player O.
  • 🎨 UI/UX Enhancements: Add animations and better visuals.

🛠️ Tech Stack

  • Swift: Core programming language.
  • Xcode: IDE for building and testing the app.
  • UIKit: Used for UI design.

📖 What We’re Learning

This project is part of our ongoing Swift education. Through this app, we aim to:

  • Practice Swift Fundamentals: Enums, Structs, and Object-Oriented Programming.
  • Understand iOS Development Basics: Working with buttons, views, and actions in UIKit.
  • Collaborate Effectively: Using Git for version control and project management.

About

A simple Tic Tac Toe game built in Swift! This project is part of our journey to master iOS development and Swift programming. We’re learning by building a fun, interactive game, adding features weekly, and practicing good coding and collaboration habits.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages