Skip to content

team-chocolate-cake/Tic-Tac-Toe

Repository files navigation

Tic Tac Toe Online Multiplayer Game (XO Game) 🎮

Welcome to the Tic Tac Toe Online Multiplayer Game! 🎉 This is a simple and exciting XO game that allows two players to compete against each other in real time.

ScreenShots 📸

Features 🌟

  • Online Multiplayer: Play against another player over the internet in real-time.

  • Leaderboard: View and compare your scores with other players on the leaderboard.

  • Real-time Gaming: Experience seamless and interactive gameplay with real-time updates.

  • Score Saving: Your scores are automatically saved and synchronized with Firebase Firestore.

Technologies Used💡

  • Jetpack Compose: A modern toolkit for building native Android UI using a declarative approach.

  • Firebase Real-time Database: For handling real-time data synchronization between players during gameplay.

  • Dagger Hilt: For dependency injection to maintain a clean and modular codebase.

  • Google's Recommended Architecture: Following the best practices and architecture guidelines provided by Google to ensure a scalable and maintainable codebase.

Prerequisites 📋

Before running the game, ensure you have the following:

  • Android Studio with Kotlin support installed.

  • An active internet connection.

Setup ⚙️

Follow the steps below to set up and run the game:

  1. Clone the repository to your local machine.

  2. Open the project in Android Studio.

  3. Connect your Firebase project by adding the google-services.json file to the app module. This file contains your Firebase project configurations.

  4. Build and run the application on an emulator or a physical device.

How to Play 🎮

  1. Launch the app on two devices.

  2. Choose "New Game" to start a new Tic Tac Toe match.

  3. Players take turns tapping on the grid to make their moves.

  4. The game ends when one player wins or there is a draw.

Contributors 🤝



We welcome contributions to improve this Tic Tac Toe Online Multiplayer Game. Please feel free to open issues, submit pull requests, or give any suggestions to enhance the game.

License 📜

This project is licensed under the MIT License - see the LICENSE file for details.

Enjoy playing Tic Tac Toe Online Multiplayer! Happy gaming! 🎉