randomPoison / mahjong

Prototype client-server game architecture written in C# and Rust
9 stars 1 forks source link

Mahjong Prototype

This project is an prototype of a client-server game architecture, with the server component written in Rust and the client built on the Unity game engine. The core architecture uses a persistent websocket connection between client and server for communication.

The goal is to evaluate:

Setup

You'll need to have the following things installed in order to build and run this project:

Running the Game

To run the server, navigate to the mahjong-server directory and then run the following command in your terminal:

cargo run

Once the server is running, open the mahjong-client directory in the Unity editor. Open the main scene (TBD which one that is) and hit the play button.