An open API service indexing awesome lists of open source software.

https://github.com/aritrac1/tictactoegame

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).
https://github.com/aritrac1/tictactoegame

android android-app android-game game game-theory game-theory-algorithms jetpack-android jetpack-compose kotlin kotlin-android minimax-algorithm tic-tac-toe tictactoe tictactoe-game

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://drive.google.com/drive/folders/1dPfnpYTZqDYsHVvXmAxQKrCbNSEl0GgH?usp=sharing)

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