First off, thank you for considering contributing to Morse Warriorz!
- Use the GitHub Issues tab
- Check if the bug has already been reported
- Include detailed steps to reproduce
- Add screenshots if helpful
- Mention your browser/device info
- Open a GitHub Issue with the "enhancement" label
- Describe the feature clearly
- Explain why it would be useful
- Consider how it fits with the project's goals
- Check existing issues to see if someone's already working on it
- For major changes, open an issue first to discuss
- Fork the repository and create a new branch
-
Fork the repo on GitHub
-
Clone your fork locally:
git clone https://github.com/kayspace/morse-warriorz.git
-
Check the issue
- Look at GitHub Issues and decide what you want to work on
- Link your branch to the relevant issue if applicable
-
Create a new branch for every change
git checkout master git pull origin master git checkout -b feature/short-description
Examples for branch names:
feature/dark-mode-togglefix/typo-navbarbug/logicupdate/documentationrefactor/code-logicexperiment/description
Even small fixes should get their own branch — keeps the repo clean and PRs focused.
-
Make changes locally
- Edit code, styles, etc.
- Test thoroughly to make sure nothing else breaks
-
Commit your changes
git add . git commit -m "fix: short-description (#1)"
- Use clear, concise commit messages
Link to issue if relevant or if you are working on an issue:
(#issue_number)Examples for commit messages:
feat: short-description (issue_number)fix: short-description (issue_number)bug: short-description (issue_number)update: short-description (issue_number)refactor: short-description (issue_number)
-
Push branch to GitHub
git push origin feature/short-description
-
Open a Pull Request
- Go to GitHub → your repo → Compare & pull request
- Fill in:
- Title: short, descriptive
- Description: what changed, why, how tested
- Link issue:
Fixes #<issue_number>
-
Review & merge
- Will review the code or have someone else reviewed
- GitHub automatically closes linked issues if
Fixes #<issue_number>is used
-
Delete branch after merge
Locally:
git checkout master git branch -d feature/short-description
Remotely:
git push origin --delete feature/short-description
-
Update master before next change
git checkout master git pull origin master
Always start new changes from latest master.
- Use consistent indentation (2 or 4 spaces)
- Add comments for complex logic
- Use meaningful variable and function names
- Keep functions small and focused
- Test your changes across different browsers
- Test on multiple browsers (Chrome, Firefox, Safari, Edge)
- Check mobile responsiveness
- Verify audio works correctly
- Make sure all existing functionality still works
- Improve README or other docs
- Add code comments
- Create tutorials or guides
- Fix typos and grammar
- Test your changes thoroughly
- Check that your code follows the project style
- Update documentation if needed
- Make sure all existing functionality still works
When creating a PR, please include:
What does this PR do?
- Brief description of changes
Why is this needed?
- Explain the problem being solved
How was this tested?
- Describe testing steps
- Include screenshots if UI changes
Checklist:
- Code follows project style guidelines
- Changes have been tested
- Documentation updated (if needed)
- No breaking changes (or clearly documented)
- Open an issue for questions
- Check existing issues and PRs first
- Be patient - this is a volunteer project!
- Be welcoming to newcomers
- Use inclusive language
- Respect different viewpoints
- Focus on constructive feedback
- Help others learn and grow
- Share knowledge generously
- Give credit where it's due
- Ask questions when unclear
Contributors will be:
- Added to the README contributors section
- Mentioned in release notes for significant contributions
Don't hesitate to ask! Open an issue with the "question" label, and we'll help you get started.
Thank you for contributing to Morse Warriorz!