Skip to content

mxd0-0/tic-tac-toe_app

Repository files navigation

Tic Tac Toe App

image

Description

A simple Tic Tac Toe game implemented using Jetpack Compose in Kotlin. The game allows a single player to play against an AI.

Features

  • Single-player mode against AI
  • Detects win and draw conditions
  • Simple and intuitive UI
  • Restart game functionality

Installation

  1. Clone the repository:
    git clone https://github.com/mxd0-0/tic-tac-toe_app.git
  2. Open the project in Android Studio.
  3. Build the project to download all dependencies.
  4. Run the app on an emulator or a physical device.

Usage

  1. Launch the app.
  2. Play against the AI.
  3. Take turns to place your mark (X) on the board.
  4. The AI will automatically make its move (O).
  5. The game will automatically detect a win or draw condition.
  6. Press the "Restart" button to start a new game.

Contributing

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a pull request.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages