Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.97 KB

Readme.md

File metadata and controls

42 lines (34 loc) · 1.97 KB

Tic-Tac-Toe Game

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)

Features

  • 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)

Demo

Screenshots

Video

Demo Here

Technologies & Concepts Used

  1. Kotlin is used for game logic, player turns, and state management.
  2. Jetpack Compose enables declarative UI and automatic UI updates based on game state.
  3. Game Logic handles board state, turn management, and winner detection.
  4. Two Game Modes: AI plays against the user in single-player, or two players compete in multiplayer.
  5. AI (in single-player) utilizes algorithms like Minimax Algorithm for decision-making based on board evaluation.

Getting Started

  • 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.