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.
A more detailed guide will be released soon but for now, follow these instructions:
- Clone this repository with
git clone
or Github desktop - Cd into your folder and run
npm i
andnode setup
- DEVELOPERS ONLY: After each client change, build with
npm run build
(you can alternatively usenpm run watch
to automatically build on client changes) - Start the program with
node .
- View the game by going to
localhost:3000
in your browser
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.