Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

HasangerGames/suroi

Repository files navigation


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 the game directly.

ko-fi.com/suroi

Join the Discord!

discord.suroi.io

Installation and setup

Start by installing Git and Bun.

Use the following command to clone the repo:

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

Enter the newly created suroi directory with this command:

cd suroi

Finally, run this command in the suroi directory to install dependencies:

bun install

Development

To start the game locally, run the following command in the project root:

bun dev

Or, to see output from the server and client separately, you can use the bun dev:server and bun dev:client commands. (Both must be running simultaneously for the game to work.)

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

Production

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

bun build:client

To start the game server, run this command:

bun start

Production builds are served using NGINX. Visit the wiki for details on how to self-host.

Sponsor this project

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /