Skip to content

Dev-Aditya-More/TicTacToeGame

Repository files navigation

✨ Tic Tac Toe AI Game – Built with Jetpack Compose

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.



Tic Tac Toe AI Game


🎮 Features

  • ✅ 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 and LaunchedEffect

📸 Screenshots

Game Screens

AI Game

AI Game


🛠️ Built With


🚀 Getting Started

Prerequisites

  • Android Studio Meerkat
  • Kotlin 1.8+
  • Compose Compiler compatible with your Kotlin version

Run the App

  1. Clone the repo:

    git clone https://github.com/your-username/tictactoe-compose.git
    
  2. Open in Android Studio.

  3. Click Run ▶️ on your emulator or device.

🤖 AI Logic

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.

🤝 Contributing

Contributions are welcome! Feel free to fork the project and submit a pull request.

Author

Made with ❤️ by Aditya More

About

a simple tic tac toe game with immersive user experience and will have some major changes for sure

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages