4.1 KiB
Contributing to 3D Flight Simulator
Thank you for considering contributing to the 3D Flight Simulator project! We welcome contributions from everyone, whether you're fixing bugs, adding new features, improving documentation, or suggesting enhancements.
🤝 How to Contribute
1. Reporting Issues
Before creating a new issue, please check if it has already been reported:
- Search the issue tracker
- If you find a related issue, add a comment with additional information
When reporting a new issue, please include:
- A clear description of the problem
- Steps to reproduce the issue
- Your browser and operating system
- Any relevant screenshots or error messages
2. Suggesting Features
We welcome feature requests! Please:
- Describe the feature in detail
- Explain why it would be useful
- Provide any relevant examples or mockups
3. Code Contributions
Setting Up the Project
- Fork the repository on GitHub
- Clone your fork locally:
git clone https://gitea@repos.retroweb.dev:ai-zone/wings88.git cd wings88 - Set up the development environment:
npm install
Making Changes
- Create a new branch for your feature or bug fix:
git checkout -b your-branch-name - Make your changes to the code
- Test your changes thoroughly
- Update documentation if needed
- Commit your changes with a meaningful message:
git commit -m "feat: add new feature description"
Submitting a Pull Request
- Push your branch to your fork:
git push origin your-branch-name - Open a pull request on the main repository
- Fill out the pull request template with:
- Description of your changes
- Related issues (if any)
- Screenshots (if applicable)
- Testing instructions
4. Documentation Contributions
Improving documentation is just as valuable as code contributions! Please:
- Fix typos or unclear explanations
- Add missing information
- Improve code examples
- Update API documentation
5. Testing
We appreciate contributions that improve test coverage:
- Add unit tests for new features
- Add integration tests for critical paths
- Fix failing tests
📜 Code of Conduct
Please note that this project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
📋 Development Guidelines
Coding Standards
- Follow the existing code style
- Write self-documenting code with meaningful variable names
- Keep functions small and focused
- Add comments for complex logic
- Write unit tests for new functionality
Commit Messages
Please follow the Conventional Commits specification:
feat:for new featuresfix:for bug fixesdocs:for documentation changesstyle:for code style changesrefactor:for code refactoringtest:for test-related changeschore:for maintenance tasks
Branching Strategy
main- Production-ready code (protected branch)dev- Development branch for new features- Feature branches - Named after the feature being developed (e.g.,
feat/landscape-generation) - Bugfix branches - Named after the bug being fixed (e.g.,
fix/crash-on-load)
📞 Communication
For questions or discussions, please:
- Use the GitHub Discussions feature
- Open an issue for specific questions about the codebase
- Join our community chat (if available)
🎯 Current Priorities
Check the project board for current priorities and ongoing work.
📝 Additional Resources
Thank you for contributing to the 3D Flight Simulator project! Your efforts help make this project better for everyone.