Thank you for helping out with the Open Source Club's SwampyMud project!
Following these guidelines helps us keep good project workflow. We appreciate your help.
Our community guidelines are described in CODE_OF_CONDUCT.md. Hop in our discord for any additional questions or just to hangout!
Please check the Issues pages for current tasks. If you see something that you would like to help with, ask about helping in a comment. If you're just starting out, checkout our beginner friendly issues for ways to help.
Check out the DESIGN.md file for a high level explanation of the project.
Check to see if someone already reported this bug.
If so then comment on that issue.
If not, provide a detailed description of the bug.
Include what happened before the error, all settings, and test results. This helps us more quickly identify and solve any problems.
Create an Issue with the description and add the bug
label.
Check our design document and other issues to see if the feature has already been requested. If so, then feel free to add your thoughts on that issue. If not, create an Issue with the description and add the feature
label.
Any contributors working on scripts or engine code should test their code before submitting it.
To test server code on your own machine, run
python3 -m swampymud
Then with a telnet client, you will connect to the following IP like so:
telnet 127.0.0.1 1234
Alternatively, you can use Mudlet or another MUD client. Follow the instructions provided in README.md and use "127.0.0.1" and "1234" as the address and port, respectively.
Test thoroughly, and maybe we can avoid some headaches down the line.
This package has several testcases found in ./tests/
created with python's unittest
module. You can run the testcases like so:
python3 -m unittest
Running the unittest module will automatically find the testcases in ./tests/
and execute them.
- Create a fork or branch to tackle a specific issue
- Follow the style guidelines below
- This helps with debugging and working on the project
- Make small incremental commits
- It's easier to find issues when only a small amount of code is changed
- Thoroughly test your changes (see the section above).
- (Always run
python3 -m unittest
before submitting.)
- (Always run
- Make a pull request
- The request will be reviewed
- Any needed changes will be noted
- The changes will be added to the project
- Yay! Thanks for the help.
Use our .editorconfig to help automatically format your code.
Python is meant to be a readable. We follow PEP8 and you should too.
You can also find our complete introduction to Python here.