subhajit4980 / Tic_tac_toe

Develop a Kotlin-based Tic Tac Toe app with diverse gameplay options. Users can engage in offline or online matches against AI or human opponents. This app delivers an interactive gaming experience, fostering skill improvement and friendly competition.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tic Tac Toe Game

This is a simple implementation of the classic Tic Tac Toe game in Kotlin. The game is played on a 3x3 grid and can be played by two players, one taking the 'X' symbol and the other taking the 'O' symbol. The players take turns placing their symbols on the grid, and the first player to get three of their symbols in a row, column, or diagonal wins the game. If all the spaces on the grid are filled and no player has won, the game is considered a draw. After game Over user can restart the game with the same player.

Tic Tac Toe

Want to try the app

Features

  • Two player game mode
  • Simple graphical user interface
  • both Online and offline mode available
  • apply minmax algorithm to make the computer strong
  • auto game code generate

Requirements

  • Java Development Kit (JDK) version 8 or later
  • Gradle version 6.7 or later

Usage

  1. Clone the repository to your local machine.
  2. Navigate to the project directory in the command line.
  3. Build the project using Gradle:
./gradlew build
  1. Run the game using Gradle:
./gradlew run
  1. Play the game by clicking on the spaces in the grid to place your symbol.

About

Develop a Kotlin-based Tic Tac Toe app with diverse gameplay options. Users can engage in offline or online matches against AI or human opponents. This app delivers an interactive gaming experience, fostering skill improvement and friendly competition.


Languages

Language:Kotlin 100.0%