Auto-commit after successful build: update app gameplay/UI, improve build setup

Changed files:\napp/build.gradle.kts
app/src/main/java/solutions/tretter/githugandroid/GameModels.kt
app/src/main/java/solutions/tretter/githugandroid/levels/CoreLevels.kt
This commit is contained in:
Joe Tretter
2026-04-24 14:23:12 -05:00
parent f0f32746a2
commit 6f9398e214
3 changed files with 14 additions and 3 deletions

View File

@@ -17,7 +17,9 @@ internal fun coreLevels(): List<Level> = listOf(
hints = listOf("Use `git config user.name ...` and `git config user.email ...`."),
commandSuggestions = listOf("git config user.name GitHug", "git config user.email githug@example.com"),
setup = { RepoState(initialized = true, branches = mapOf("master" to 0)) },
validator = repoPredicate { it.initialized },
validator = repoPredicate { repo ->
repo.config["user.name"] == "GitHug" && repo.config["user.email"] == "githug@example.com"
},
),
level(
id = "add",