Welcome to a sleek and interactive Tic Tac Toe experience crafted using Jetpack Compose! Challenge yourself against a basic AI opponent in a beautifully animated and intuitive interface.
- ✅ Play against AI (basic random logic)
- 🎨 Beautiful gradient background using Jetpack Compose
- 📱 Fully responsive UI
- 🔄 Reset button to restart the game
- 🔙 Back navigation support
- ✖️⭕ Classic 3x3 grid gameplay
- 🔍 Uses state management with
remember
andLaunchedEffect
- Android Studio Meerkat
- Kotlin 1.8+
- Compose Compiler compatible with your Kotlin version
-
Clone the repo:
git clone https://github.com/your-username/tictactoe-compose.git
-
Open in Android Studio.
-
Click Run
▶️ on your emulator or device.
The current AI randomly picks an available empty cell after the player’s turn. It's intentionally kept simple for beginners and can be extended to implement Minimax or other algorithms later.
Contributions are welcome! Feel free to fork the project and submit a pull request.
Made with ❤️ by Aditya More