In WarriorPY, you wear the skin of a warrior climbing a tall tower to reach The Pythonic Sword at the top level. Legend has it that the sword bearer becomes enlightened in the python language, but be warned: the journey will not be easy. On each floor, you need to write Python to instruct the warrior to battle enemies, rescue captives, and reach the stairs alive...
No matter if you are new to programming or a Python guru, WarriorPY will put your skills to the test. Will you dare?
- Install WarriorPY with pip:
pip install warriorPY
- Launch the game:
warriorpy
-
Create your warrior.
-
You'll be pointed to a README file with instructions for the first level.
Good luck in your journey, warrior!
Learn how to play WarriorPY on the official site!
Jump straight to some of the most-visited pages:
We welcome contributions to WarriorJS! These are the many ways you can help:
- Submit patches and features
- Make towers (new levels for the game)
- Improve the documentation and website
- Report bugs
- Follow us on Twitter
Please read our contribution guide to 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.
This project was born as a port of ruby-warrior. Credits for the original idea go to Ryan Bates.
Most of the architechtural inspiration has been taken from the WarriorJS project
WarriorPY is licensed under a MIT License.