/Tic-Tac-Toe-Game-App

This project is a simple implementation of the classic game of Tic Tac Toe for Android devices. It provides a user-friendly interface where users can play the game against a computer opponent. The game logic is implemented in Java and utilizes the Android Studio development environment to create a responsive user interface.

Primary LanguageJavaMIT LicenseMIT

Tic-Tac-Toe-Game-App

This is an Android Studio Java project for the classic game of Tic Tac Toe.

Getting Started

To get started with this project, you can download or clone the repository onto your local machine.

Prerequisites

• Android Studio

• Java Development Kit (JDK)

Installing

  1. Install Android Studio and Java Development Kit (JDK) if you haven't already.
  2. Clone or download this repository onto your local machine.
  3. Open Android Studio and select "Open an existing Android Studio project".
  4. Navigate to the directory where you cloned or downloaded the repository and select the project.

Running the Game

To run the Tic Tac Toe game on an emulator or physical device, follow these steps:

  1. Open the project in Android Studio.
  2. Connect your Android device to your computer, or start an emulator in Android Studio.
  3. Click the Run button in Android Studio to build and run the app.

Playing the Game

Once the app is running, you can start playing Tic Tac Toe.

  1. Choose who will go first: the user or the computer.
  2. To make a move, simply tap on an empty square on the board.
  3. The computer will automatically make its move.
  4. The game ends when one player wins, or the game is a tie.

Built With

• Android Studio

• Java Development Kit (JDK)

Authors

• Pranjal Agarwal(211B218)

Acknowledgments

Android Developers documentation

Java documentation