BelkaDev / swordbattle.io

A multiplayer sword fighting IO game, now fully rewritten!

Home Page:https://swordbattle.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome!

Swordbattle.io is a multiplayer game where players fight each other with different 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.

Note: you are looking at the V2 version of the code. For the old V1 version, go to the v1 repo

Play now at swordbattle.io and see the leaderboard.

Community

Run Locally

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

  1. Install NodeJS v18 and Yarn (with npm npm install -g yarn or with corepack corepack enable)
  2. Clone this repo
  3. cd client && yarn install && yarn start
  4. At the same time on a new shell run cd server && yarn install && yarn start
  5. Go to localhost:3000

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 libraries and code you used, please add a link to this GitHub repository. 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

About

A multiplayer sword fighting IO game, now fully rewritten!

https://swordbattle.io

License:GNU General Public License v3.0


Languages

Language:TypeScript 51.0%Language:JavaScript 43.1%Language:SCSS 4.3%Language:HTML 1.0%Language:Shell 0.4%Language:Batchfile 0.2%Language:Dockerfile 0.0%Language:Procfile 0.0%