An open-source 2D browser shooter game inspired by surviv.io, a 2D battle royale game available online for free.
This repository contains both the server's and client's code.
You will be able to host a game server and a web server with this repository.
Install Node.js before hand.
- Clone this repository by either running the command
git clone https://github.com/North-West-Wind/opensurviv.git
or downloading as ZIP and extracting it. - Open your terminal and
cd
into the directory it is cloned. - Run
npm run start
and wait till both servers have started up - To open the game, go to https://127.0.0.1:8000 in your browser.
Note: Once the project is finished, it will be published in npm
. Instructions will be different after that.
If you want to contribute to the project, you should create a fork and make PRs. Here are some notes to you:
- Use
PascalCase
for naming classes,camelCase
for naming variables andsnake_case
for files. This is done to stay consistent with my code. Sorry if you don't like these naming conventions. Commit messages need not be consistent, but should be readable. - Add comments. It's good to be detailed.
You may also join the Islandr.io Discord Server
surviv.io has existed since 2017. It was at first quite popular, and really fun, until the initial developers, Justin Kim and Nick Clark, sold it to Kongregate (Kong) in March 2020. Unfortunately, Kong did not pay enough attention to their acquisition, and ended up just squeezing profits from surviv.io in the mobile market.
Our previous name was "Open Surviv" and we both (Me and NorthWestWind) were developing this game trying to popularise this, and all of a sudden, our partner game, resurviv, got DMCA'd by Kong for assets. We used surviv's assets like them, and feared that we could get DMCA'd too, so we changed the name to "OpenSurvive" (this repo's name) and changed every asset in game. It was and still is a hell of a ride for the devs to program this, due to the lack of devs (Literally the new update only me, NorthWestWind, and Adam are doing). Needless to say we'll take our time to catch up to a standard battle royale 2D game.
And finally, competitors show up. Ice Hacks is currently the most active group that is developing the Surviv.io Cheat Injector. Even more infuriating is that, Ice Hacks is actually from the team of victorr.io, and their game is even worse. Those people ruined surviv.io. So, just don't play victorr.io, or play with an adblock at least.
This is one of the reasons I decided to start this project. I hope by being open-source, others can contribute a lot more to stop cheaters, rather than watching the game dying.
Another thing I believe that can keep a game alive, are mods. There are plenty of examples, especially with Nintendo games. The Nintendo Wii has ended their online connection support years ago, but yet Mario Kart Wii is still fairly popular thanks to the community's contribution by custom tracks and game modes.
Same thing goes with surviv.io. Once this project is finished, you will be able to fork this project and put your own codes into it. Custom game modes with more variety will appear and keep the game fun.
GPL v3
for both server and client