Hey, you want to help make Ranvier better? That's awesome. If you're new to the world of open source Github has a great guide to get you started https://guides.github.com/activities/contributing-to-open-source/.
Talking with the team¶
Before you start writing code, adding documentation, or submitting issues we suggest you hop in our slack channel (Get an invite) and say hi.
If you find an issue click the Issues tab on the github page, there will be a template to walk you through what info you should include in your report. We also suggest you hop in the above slack channel and let us know, we may be able to resolve your issue right then and there!
If you're not sure where to get started contributing to Ranvier the best place to start is documentation. Read over the existing documentation, read through some of the code, try to build something and get a feel for what is missing from the docs that you could add.
Documentation is stored in the
docs/ folder in the root of the project. Our documentation is rendered with
and the Python-Markdown extensions, any markup you can use from those is free game. If you want to change the look and
feel of the documentation styles are in
You can test your changes to the docs locally by installing mkdocs and running
from the root of the repo.
What is and isn't part of Ranvier?¶
An example of something that would be desired for a code contribution:
- Yes: A bugfix for code in
- Yes: A bugfix or feature for code in one of the bundles prefixed with
- Maybe: A feature for code in
src/. This might have some discussion around it depending if it changes any of the data models or impacts existing bundles.
- No: Your bundles. The end goal will be to have a place, like npm, where you can register your bundles for other Ranvier users to download. For now as long as your bundle is on github you can submit an issue for us to link to your bundle from our documentation.
The default bundles (bundles prefixed with ranvier-) are meant to be a functional example of a Diku-style MUD built in the Ranvier engine. It is not intended to be a SMAUG-esque turnkey MUD where it comes with 80 areas and 200 commands and tells you exactly what kind of game you have to build.
The commands in the default bundles, while inspired from classic Diku style MUDs have output inspired by modern MMOs like World of Warcraft. Very little information is obscured from the player as was common practice in old MUDs. Combat shows damage, items show their stats, you see enemy health, quests are much less puzzle-like and more direct.
Suggested changes/additions to those bundles should be made with that in mind.
Submitting your code¶
Ranvier works by letting you build on top of it so fixing bugs and submitting them can sometimes lead with you submitting more code than you intended. To prevent this isolate your bug fix, re-clone Ranvier into another directory and apply your fix/feature to the fresh clone. That way when you send your pull request it won't included any of the custom bundles you've built or changes you have made to the core that perhaps don't fit the criteria above.