Github url

warriorjs

by olistic

olistic /warriorjs

🏰 An exciting game of programming and Artificial Intelligence

8.5K Stars 502 Forks Last release: Not found MIT License 338 Commits 24 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

WarriorJS Banner

An exciting game of programming and Artificial Intelligence

CircleCICodecovFollow+WarriorJS+on+TwitterJoin+WarriorJS+on+Spectrum

In WarriorJS, you are a warrior climbing a tall tower to reach The JavaScript Sword at 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?

Play

Go to warriorjs.com and play from the comfort of your browser! Sharpen your skills and compete against other players around the globe. Good luck in your journey, warrior!

Documentation

Although there is some in-game documentation, at some point you may want to visit the official docs.

Jump straight to some of the most-visited pages:

CLI

Wanna play offline? No problem, just follow these steps:

  1. Install WarriorJS CLI with npm:
npm install --global @warriorjs/cli
  1. Launch the game:
warriorjs
  1. Create your warrior.

  2. You'll be pointed to a README file with instructions for the first level.

Check out the Install docs for more details.

Preview

WarriorJS Preview

WarriorJS CLI launched from theIntegrated Terminalin VS Code. To the left,

Player.js

, and to the right, aMarkdown Previewof

README.md

.

Contributing

We welcome contributions to WarriorJS! These are the many ways you can help:

Please read our contribution guide to get started. Also note that this project is released with aContributor Code of Conduct, please make sure to review and follow it.

Contributors

Thanks goes to each one of our contributors! :pray:Become a contributor.

Backers

Support us with a monthly donation and help us continue our activitiesBecome a backer.

Sponsors

Become a sponsor and get your logo here and on theofficial docsBecome a sponsor.

Acknowledgments

This project was born as a port ofruby-warrior. Credits for the original idea go to Ryan Bates.

Special thanks to Guillermo Cura for designing a wonderful logo.

License

WarriorJS is licensed under a MIT License.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.