Welcome, open-source enthusiasts! We're excited to have you on board to help take KnonkoutZone to the next level. Every contribution you make plays a big part in shaping the project, and we truly appreciate your efforts!
This guide will help you get started with contributing to this project.
To get the KnockOutZone running on your local machine:
- Fork the Repository: Click the "Fork" button at the top right of the GitHub repository page. This creates a copy of the project in your GitHub account.
- Clone Your Fork: Open your terminal or command prompt and clone your forked repository to your local machine:
git clone https://github.com/{your-username}/KnockoutZone.git - Navigate to the Project Directory:
cd KnockoutZone
We use GitHub Issues to track tasks, bugs, and features.
- Check the Issues Tab: Go to the
Issuestab on our GitHub repository: https://github.com/Ayush0316/KnockoutZone/issues - Look for Labels: We use labels to categorize issues and indicate their difficulty:
gssoc25: All issues eligible for GSSoC'25 contributions.good first issue/beginner-friendly: Great starting points for new contributors.difficulty:easy,difficulty:medium,difficulty:hard: Indicates the complexity.bug,feature,documentation,enhancement,refactor: Describes the type of work.
- Choose an Issue: Select an issue that interests you and matches your skill level.
Once you've chosen an issue:
- Claim the Issue:
- Comment on the issue you've chosen, stating clearly: "I'd like to work on this issue."
- This helps prevent multiple people from working on the same task.
- Create a New Branch:
- Before making any changes, create a new branch from the
mainbranch. Use a descriptive name for your branch (e.g.,fix/bug-description,feat/new-powerup).
git checkout main git pull origin main # Ensure your main branch is up-to-date git checkout -b your-branch-name - Before making any changes, create a new branch from the
- Make Your Changes:
- Implement your solution in your new branch.
- Write clean, readable, and well-commented code.
- Follow the existing code style of the project.
- Test Your Changes:
- Ensure your changes work as expected and don't introduce new bugs. Test the functionality thoroughly.
- Commit Your Changes:
- Write clear and concise commit messages.
git add . git commit -m "feat: Add new power-up type" # Example commit message
- Push Your Branch:
git push origin your-branch-name
- Create a Pull Request (PR):
- Go to your forked repository on GitHub. You'll see a prompt to create a Pull Request.
- Ensure you are creating a PR from your branch to the
mainbranch of the original repository. - Write a clear PR description:
- Reference the issue number it closes (e.g.,
Closes #123). - Explain what changes you made and why.
- Provide screenshots or GIFs if it's a visual change.
- Reference the issue number it closes (e.g.,
- Comments: Add comments where the code logic might not be immediately obvious.
- Modularity: Try to keep changes focused within relevant files and folder.
- Avoid using magic strings and use proper desing principals.
We encourage open communication! If you have any questions, get stuck, or want to discuss an idea:
- Join our Discord Channel: This is our primary communication hub for real-time discussions and support. ➡️ Join our Discord Server!
- Comment on Issues: You can also ask questions directly on the relevant GitHub issue.
We're here to help you succeed! Happy coding, and we look forward to your contributions to the KnockOutZone!