A multiplayer snake-inspired arcade game on Unity.
- Reflex: minimal dependency injection framework for Unity.
- Colyseus: multiplayer framework for Node.js.
- Unity UI Toolkit: screen space and world space UI.
- A little bit UniTask.
- Github Actions: deploy server as docker container on every push in main.
SnakeMultiplayer.webm
Warning
Required docker and docker-compose.
- Go to the server folder:
cd server
- Start container:
docker-compose up
That's all. Now you have a container running on your machine with a server for the game on port 2567
. If this port is busy, there will be problems, so you can change it in the corresponding docker compose file.
Warning
Required NPM.
- Go to server folder with source code:
cd server/SnakeMultiplayerServer
- Install dependecies:
npm install
- Start server:
npm start
That's all. Now you can start the game client and connect to the game.