Tic-Tac-Toe Game with AI Bot (using Minimax algorithm)
Project Description
This project is a Tic-Tac-Toe game developed for Android, using Jetpack Compose for user interface
construction and Kotlin as the main programming language. A unique feature of this project is the
integration of an AI Bot, built based on the Minimax algorithm, creating a formidable opponent for
the player.
Installation
Clone this repository to your computer.
Open the project with Android Studio.
Run the application on an emulator or a real Android device.
Technologies Used
Kotlin: The main programming language for the project.
Jetpack Compose: Google's new UI library, helping to build user interfaces simply and efficiently.
Minimax Algorithm: The algorithm used to build the AI Bot in the game.
How to Play
The player will choose 'X' or 'O' to start the game.
The player and the AI Bot will take turns to play, the player will play by touching an empty cell on the board.
The game ends when one player achieves 3 consecutive symbols on a row, column, or diagonal, or all cells on the board have been marked with no one winning.
Contribution
Any contributions to this project are welcomed. If you have ideas to improve the project, please make a Pull Request.
License
This project is distributed under the MIT License. See LICENSE file for more details.