Thanks for contributing to Hangman Compose.
- Create a branch from
master. - Make focused changes.
- Run relevant checks locally.
- Open a pull request with a clear summary.
Words are managed in game-core using a validated DSL catalog.
/game/core/wordCategories/CountryWords.kt/game/core/wordCategories/LanguageWords.kt/game/core/wordCategories/CompanyWords.kt/game/core/wordCategories/AnimalWords.kt
Do not edit gameplay logic just to add words.
- Use lowercase words.
- Use letters and spaces only. Hyphens are accepted in source and normalized to spaces.
- Avoid duplicates inside the same category.
- Keep data realistic for gameplay length buckets.
Difficulty letter-count ranges are defined once in:
game-core/src/commonMain/kotlin/com/developersbreach/game/core/GameConfigs.kt
Current mapping:
EASY:4..5MEDIUM:6..7HARD:8..10VERY_HARD:11+
Run:
./gradlew :game-core:desktopTest :feature:game:desktopTestThe word DSL validator will fail the build if:
- any category is empty
- invalid characters exist
- duplicates exist
- any category does not have enough words for required difficulty buckets (
EASY,MEDIUM,HARD)
- Build passes locally.
- New/changed behavior is documented.
- No unrelated formatting or refactors included.