Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codergautam/swordbattle.io
A multiplayer sword fighting IO game, now fully rewritten!
https://github.com/codergautam/swordbattle.io
game io io-game io-games-unblocked iogames multiplayer-game phaser sword web-game web-games webgames websocket
Last synced: 2 days ago
JSON representation
A multiplayer sword fighting IO game, now fully rewritten!
- Host: GitHub
- URL: https://github.com/codergautam/swordbattle.io
- Owner: codergautam
- License: gpl-3.0
- Created: 2023-07-10T03:13:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-27T10:13:31.000Z (5 days ago)
- Last Synced: 2025-01-27T10:29:49.332Z (5 days ago)
- Topics: game, io, io-game, io-games-unblocked, iogames, multiplayer-game, phaser, sword, web-game, web-games, webgames, websocket
- Language: TypeScript
- Homepage: https://swordbattle.io
- Size: 111 MB
- Stars: 52
- Watchers: 6
- Forks: 35
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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.
## Special Thanks
- Guru for helping make it less laggy
- Mistik for networking base
- Cool guy 53 (aka yocto) for maintaining the game late 2024
- All the artists for bringing sb to life> Note: you are looking at the V2 version of the code. For the old V1 version, go to the [v1 repo](https://github.com/codergautam/swordbattle.io-legacy)
Play now at [swordbattle.io](http://swordbattle.io) and see the [leaderboard](https://www.swordbattle.io/leaderboard).
## Community
* [Forum (most active)](https://forum.codergautam.dev)
* [Discord](https://discord.com/invite/BDG8AfkysZ)## 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](https://web-platforms.sfo2.cdn.digitaloceanspaces.com/WWW/Badge%201.svg)](https://www.digitalocean.com/?refcode=78c9223db701&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge)