Skip to content

Multiplayer RTS Game Server written in NodeJS . The project serves 2 purpose, first my love for RTS games, 2nd me trying to see how much performance i can squeeze out of nodejs server. Hosted on railway.app, Check out the url below (the url may need some 2-3 refreshes, as it takes a while for the server to spin up from sleep)

Notifications You must be signed in to change notification settings

keshav2010/conquesta-rts

Repository files navigation

Conquesta-RTS

Node.js CI

Preview (Debug info is displayed for each unit)

Image from Gyazo

Both the GIFs shows basic boid avoidance behaviour Image from Gyazo

Dev Testing with kubernetes setup:

In case you're on windows, it is recommended to use rancher-desktop to run the infra locally.

  • Please Ensure that rancher is setup to use dockerd (moby) instead of containerd as a container-engine.

Additionally, You'll be required to install

  1. skaffold
  2. redis (run it on windows via docker / rancher) , you may as well use any online hosted redis installation if not willing to setup a local instance of it.

Once you've installed rancher-desktop, and skaffold you're now ready to run the infra locally, use the command "npm run setup-local-infra"

This will

  1. Create a local registry, where the images will be uploaded.
  2. Create a gameserver service.

DEV Testing without infra/k3s setup

  1. npm run build
  2. npm run start

About

Multiplayer RTS Game Server written in NodeJS . The project serves 2 purpose, first my love for RTS games, 2nd me trying to see how much performance i can squeeze out of nodejs server. Hosted on railway.app, Check out the url below (the url may need some 2-3 refreshes, as it takes a while for the server to spin up from sleep)

Topics

Resources

Stars

Watchers

Forks

Sponsor this project