This is a Tic Tac Toe game built using Kotlin and Jetpack Compose for Android. It supports two game modes:
- Computer vs User (single-player mode against AI)
- Player 1 vs Player 2 (local multiplayer)
- 3x3 grid layout for the Tic Tac Toe board
- Two modes: Player vs Player & Computer vs User
- Game status display (winner)
- Game reset functionality
- Simple AI for the "Computer vs User" mode (random move)
- Kotlin is used for game logic, player turns, and state management.
- Jetpack Compose enables declarative UI and automatic UI updates based on game state.
- Game Logic handles board state, turn management, and winner detection.
- Two Game Modes: AI plays against the user in single-player, or two players compete in multiplayer.
- AI (in single-player) utilizes algorithms like Minimax Algorithm for decision-making based on board evaluation.
- To get started with this project, clone this repository and open it in Android Studio.
git clone https://github.com/AritraC1/TicTacToeGame.git
- Build and run the app on your android device.