Skip to content

codergautam/swordbattle.io-legacy

Repository files navigation

End of Support

It's been a long journey of me maintaining this mess of a codebase for 2+ years and I think it's time to move on... I will no longer be actively maintaining the legacy codebase.

The adventure doesn't stop here! Check out the new and updated swordbattle code here!

Welcome!

Swordbattle.io is a multiplayer game where players fight each other with diffrent 2D swords, and try to gain coins. The more coins you have, the bigger and powerful you get! Try to become the biggest of them all.

Play now at swordbattle.io and see the leaderboard.

Community

Usage

A more detailed guide will be released soon but for now, follow these instructions:

  1. Clone this repository with git clone or Github desktop
  2. Cd into your folder and run npm i and node setup
  3. DEVELOPERS ONLY: After each client change, build with npm run build (you can alternatively use npm run watch to automatically build on client changes)
  4. Start the program with node .
  5. View the game by going to localhost:3000 in your browser

License

You can use this code as a base for your IO games, but please change it to a considerable amount to make it a different game. Under libaries and code you used, please add a link to this github respiratory. Furthermore, under the GPL License, your game MUST also be open source. You cannot just take this free code and make it proprietary.

Thanks.

DigitalOcean Referral Badge