In WarriorJS, you are a warrior climbing a tall tower to reachThe JavaScript Swordat the top level. Legend has it that the sword bearer becomes enlightened in the JavaScript language, but be warned: the journey will not be easy. On each floor, you need to write JavaScript to instruct the warrior to battle enemies, rescue captives, and reach the stairs alive...
No matter if you are new to programming or a JavaScript guru, WarriorJS will put your skills to the test. Will you dare?
Go towarriorjsand play from the comfort of your browser! Sharpen your skills and compete against other players around the globe. Good luck in your journey, warrior!
Although there is some in-game documentation, at some point you may want to visit theofficial docs.
Jump straight to some of the most-visited pages:
Wanna play offline? No problem, just follow these steps:
- Install WarriorJS CLI withnpm:
npm install --global @warriorjs/cli
- Launch the game:
warriorjs
-
Create your warrior.
-
You'll be pointed to a README file with instructions for the first level.
Check out theInstalldocs for more details.
WarriorJS CLI launched from the Integrated Terminal inVS Code.To the left,
Player.js
,and to the right, a Markdown Preview ofREADME.md
.
We welcome contributions to WarriorJS! These are the many ways you can help:
- Submit patches and features
- Maketowers(new levels for the game)
- Improve thedocumentation and website
- Report bugs
- Follow us onTwitter
- Participate in theSpectrum community
- Anddonate financially!
Please read ourcontribution guideto get started. Also note that this project is released with a Contributor Code of Conduct,please make sure to review and follow it.
Thanks goes to each one of our contributors! 🙏 Become a contributor.
Support us with a monthly donation and help us continue our activities! Become a backer.
Become a sponsor and get your logo here and on the official docs! Become a sponsor.
This project was born as a port of ruby-warrior.Credits for the original idea go toRyan Bates.
Special thanks toGuillermo Curafor designing a wonderfullogo.
WarriorJS is licensed under aMIT License.