Thank you for your interest in contributing! 🎮
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/Simplistic-Tetris.git - Create a branch:
git checkout -b feature/your-feature-name - Make your changes
- Commit:
git commit -m "feat(scope): add your feature description" - Push:
git push origin feature/your-feature-name - Open a Pull Request
- Follow TypeScript strict mode guidelines
- Use ESLint and Prettier (run
npm run lintandnpm run format) - Write meaningful commit messages following Conventional Commits
- Add tests for new features
This project uses Conventional Commits with commitlint. Your commit messages must follow this format:
<type>(<scope>): <subject>
- Type and scope must be lowercase
- Scope is recommended but not required
- Header cannot exceed 250 characters
- Use imperative mood ("add" not "added" or "adds")
- Don't end the subject with a period
Before submitting a PR, make sure:
- All tests pass:
npm test - No linting errors:
npm run lint - Code is formatted:
npm run format - Build succeeds:
npm run build
- 🐛 Bug fixes
- ✨ New features
- 📚 Documentation improvements
- 🎨 UI/UX enhancements
- 🌍 Additional translations
- ⚡ Performance optimizations
- 🧪 Test coverage improvements
- Update the README.md if needed
- Add tests for new functionality
- Ensure all tests pass
- Follow the PR template
- Link to related issues if applicable
src/core/- Game logic and enginesrc/rendering/- Canvas rendering and animationssrc/ui/- User interface componentssrc/input/- Input handlingsrc/i18n/- Internationalizationsrc/styles/- SCSS stylesheetstests/- Unit tests
This project adheres to a Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to the project maintainers.
If you have a question, need clarification, or want to discuss your contribution:
- Check if your question is answered in the README or project documentation
- Search existing issues to see if it's already addressed
- If not, open a new issue with clear details—screenshots or code snippets welcome!
We're happy to help and appreciate your engagement!
Thank you for contributing! 🙏