Skip to content

An open-source 2D battle royale game inspired by surviv.io. Work in progress.

License

Notifications You must be signed in to change notification settings

n0vacorp/suroi-vps

This branch is 3 commits ahead of, 1798 commits behind HasangerGames/suroi:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7acad89 · Oct 23, 2024
Sep 2, 2024
Oct 23, 2024
Sep 29, 2024
Oct 23, 2024
Sep 28, 2024
Jun 2, 2024
Jul 9, 2024
Feb 6, 2024
Apr 30, 2023
Sep 28, 2024
Sep 7, 2024
Oct 23, 2024
Sep 29, 2024
Oct 17, 2024
Dec 11, 2023
May 6, 2023
Oct 11, 2023
Sep 2, 2024
Aug 22, 2024

Repository files navigation

Suroi

About

Suroi is an open-source 2D battle royale game inspired by surviv.io. It is currently a work in progress.

Play the game!

suroi.io

Donate!

Any amount helps! All donation money goes towards keeping the servers running.

ko-fi.com/suroi

Join the Discord!

discord.suroi.io

Installation and setup

Start by installing Node.js and pnpm.

Next, click here to download the repo, or use the following command to clone it:

git clone https://github.com/HasangerGames/suroi.git

To install dependencies, open a terminal in the project root, and run this command:

pnpm install

This will create a node_modules directory in all three folders (client, common, and server) and link the packages there.

Development

To run the game locally, open a terminal in the project root and run the following:

pnpm dev

To open the game, go to http://127.0.0.1:3000 in your browser.

Production

To build for production, run this command in the project root:

pnpm build

To start the WebSocket server, run this command:

pnpm start

Production builds are served using NGINX. A sample configuration file can be found here.

Self-hosting

Visit the wiki for details on how to self-host.

About

An open-source 2D battle royale game inspired by surviv.io. Work in progress.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.8%
  • HTML 4.0%
  • SCSS 3.6%
  • Other 0.6%