Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.87 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.87 KB

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

Windows Video Tutorial (thanks to @Number1)

https://www.youtube.com/watch?v=cCBdGGHIX-0&t=2s

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)
  2. Clone this repo
  3. Open two Terminals/CMD in the directory with extracted source
  4. Run this command on one window to start the server: cd server && yarn install && yarn start
  5. Run this command on the second terminal to start the client: cd client && yarn install && yarn start
  6. Go to localhost:8000 (server hosted at localhost:3000)

If you face any issues, you can get help at https://iogames.forum/swordbattle !

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