GithubHelp home page GithubHelp logo

igortime / onlinetictactoe Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.97 MB

This project is a study endeavor aimed at implementing an online PvP Tic-Tac-Toe game from scratch, without relying on any existing frameworks. Instead, it leverages a straightforward Reliable User Datagram Protocol (RUDP) library to facilitate seamless communication between players

C# 68.48% ShaderLab 27.19% HLSL 4.33%

onlinetictactoe's Introduction

Unity Tic Tac Toe Multiplayer

Overview

This project is a simple Tic Tac Toe game implemented in Unity with a focus on online Player versus Player (PvP) multiplayer functionality using a basic Reliable UDP (RUDP) library. It is designed as a study project to explore the implementation of a dedicated server for online gaming.

Please note that this project is not intended for production use, and certain concepts may have been implemented in a naive or simplified manner.

Features

  • Tic Tac Toe Gameplay: Classic Tic Tac Toe game mechanics with a simple and intuitive user interface.

  • Online PvP Multiplayer: Engage in multiplayer matches with friends or other players online.

  • Dedicated Server: The project includes a basic dedicated server written in .NET Core to facilitate online gameplay.

Dependencies

This project relies on the following external libraries:

  • LiteNetLibe
  • VContainer
  • UniTask
  • MessagePipe
  • TriInspector
  • ParrelSync
  • FluentAssertions
  • DOTween

Usage

By default, the game is set up to work on localhost. However, you can build and host it on any location of your choice. To get started:

  1. Clone the repository to your local machine.
  2. Open the Unity project in the TTT.Client folder.
  3. Build the project for your desired platform.
  4. Host the server on a machine accessible to players using the server code in the TTT.Server folder.

Project Structure

  • TTT.Client: Unity project containing scripts, assets, and other resources for the client-side implementation.

  • TTT.Server: Contains the server code, written in .NET Core, responsible for managing game sessions.

  • TTT.Shared: A shared library containing shared data, including message types and helper functions common to both the client and server.

Important Note

This project is a learning endeavor, and certain aspects may not adhere to best practices for production environments. Feel free to explore the code, experiment, and improve upon it for your own learning purposes.

Contributions

Contributions are welcome! If you find issues or have suggestions for enhancements, please submit a pull request or open an issue.

License

This project is licensed under the MIT License, granting you the freedom to use, modify, and distribute the code.


Enjoy exploring the world of online multiplayer gaming with this Unity Tic Tac Toe project!

onlinetictactoe's People

Contributors

igortime avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.