Skip to content

Latest commit

 

History

History
43 lines (22 loc) · 2.36 KB

README.md

File metadata and controls

43 lines (22 loc) · 2.36 KB

Connect4Joy

Connect4Joy is a versatile iOS app that offers a selection of classic games to entertain and challenge you. The app provides an interactive and engaging gaming experience, and you can enjoy various game modes. Here are the featured game modes:

Connect Four

Connect Four is a classic game where two players take turns dropping their colored discs into a vertical grid. The goal is to connect four discs of the same color vertically, horizontally, or diagonally before your opponent.

Tic-Tac-Toe

Tic-Tac-Toe, also known as Noughts and Crosses, is a timeless battle of wits. Challenge a friend or play against the AI. Take turns marking the grid with Xs and Os, aiming to be the first to complete a row, column, or diagonal with your symbol.

Guess The Number

Guess The Number is a numbers game that tests your deduction skills. Try to guess the secret number within a limited number of attempts. The app provides hints to guide you towards the correct answer.

Features

  • Interactive Gameplay: All games offer a user-friendly interface where you can enjoy interactive gameplay.

  • Player Turns: The app tracks and displays the current player's turn in Connect Four and Tic-Tac-Toe, while in Guess The Number, it provides clues and tracks your attempts.

  • Win and Lose Detection: The app automatically detects wins and losses in Connect Four and Tic-Tac-Toe, and in Guess The Number, it informs you when you've successfully guessed the number or run out of attempts.

  • Timestamped Moves: In Connect Four and Tic-Tac-Toe, each player's move is timestamped, providing a record of when the move was made.

Technologies Used

  • SwiftUI: SwiftUI is used to create the interactive and responsive user interface.

  • SwiftData: SwiftData is utilized for managing and storing move timestamps in Connect Four and Tic-Tac-Toe using the Item model class.

Getting Started

To run the app, you will need Xcode and an iOS simulator or a physical iOS device. Simply open the project in Xcode and run the app on the desired target.

How to Contribute

If you would like to contribute to this project, feel free to fork the repository and submit pull requests with your changes. We welcome contributions that enhance gameplay, improve the UI, or add new features to any of the game modes.

License

This project is licensed under the MIT License.