Skip to content

About

Android scorekeeper for the Skull King card game

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Skull King Score

CI Coverage Release License: MIT Android 8.0+

An Android score pad for the Skull King card game: enter each player's bid and tricks, and the app computes the points (bonuses included) for the chosen scoring mode, replacing the paper score sheet.

No account, no ads, no tracking, and no network access at all: the app does not even ask for the Internet permission. Your games stay on your phone.

Home screen with a game in progress New game: players in table order and dealer Bids of a round Round state: bids against tricks won, tricks and events Trick entry: winner, card and captured cards

Download

The signed APK of every version is attached to the releases.

Android 8.0 or later. The interface is in English, French, German, Spanish, Italian and Portuguese, and follows the language of the phone.

How a game goes

One phone stays on the table, held by the "scribe".

  1. New game: pick the players in seating order, draw or choose the first dealer, the scoring mode and the expansion cards in play
  2. Bids: each player's bid, with one tap per player
  3. Tricks: for each trick, its winner, the winning card and the captured bonus cards; Loots and Davy Jones' Locker are attached to the trick they were played in
  4. Scoreboard: the points are computed as soon as the round is confirmed, and the dealer moves on to the next player
  5. Podium: at the end of the game, the ranking, the score curve and images to share with the table

A mistake? Undo the last trick, or correct any past round: the whole game is recomputed.

Features

Rules

  • Base game: White Whale, Kraken, Loots, Tigress, every pirate
  • 2026 expansion, card by card: First Mate, Mary Thorne, 7 / 8 / 0-14, Wild 15, Spotted Ray, Davy Jones' Locker, Walk the Plank, Last Salvo
  • Scoring modes: classic, Rascal, and Rascal + Cannonball (15 x N points)
  • Custom rules: up to 3 saved sets in which each official scoring rule point (glancing blow bonuses, missed bid penalty, each capture bonus, Loot, Rascal wager) can be turned off, chosen when creating a game
  • 2 to 8 players (9 with the expansion), flexible rounds (editable number of cards, extra rounds)

During the game

  • Trick-by-trick entry (winner, card, captured cards) that fills in the results, with undo / redo
  • Live events (Loot, Davy Jones' Locker) attached to the trick, cancellable log
  • Non-blocking consistency warnings (more tricks than cards, a card entered twice…)
  • Dealer tracking: the table order is the list order, and the dealer moves on every round
  • Scoreboard as a ranking, a table (tap a cell to see the calculation) and a score curve
  • Keeps the screen on while a game is in progress

After the game

  • History with search and filters, expandable cards
  • Statistics per player and scoring mode: records, trend chart, bid success by round size, favorite card, head-to-head between two players, filters by number of players, expansion and players present
  • Card statistics: tricks won by card and pirate, bid success when a card wins, when cards win in a round, captured bonuses, Rascal wagers and Harry adjustments, Loots, Davy Jones' Locker, Kraken, expansion versus base game
  • Sharing as images: podium, scoreboard, score curve, highlights, and per-player statistics

Your data

  • Backup: JSON / CSV export, import with merge of same-name profiles, optional automatic backup to a folder
  • Player profiles that can be renamed or archived

Everywhere

  • Light / dark theme, tablet and landscape layouts, TalkBack support
  • Open source licenses of the components the app is built with (Settings → About), generated from the dependencies at build time by AboutLibraries and read offline
  • Built-in help with search: card hierarchy, scoring, expansion and FAQ, aligned with the official rules

Scoreboard ranking with the points of the last round Score curve of a game Podium at the end of a game History with an expanded game Player statistics

Card statistics Head-to-head between two players Shareable statistics image of a player 2026 expansion cards, enabled one by one Built-in help

Feedback

A wrong score, a crash, a broken screen? Open an issue: for a score, give the rule and the expected calculation. A JSON export of the game (History → Export) helps a lot.

Translations and fixes are welcome as pull requests; the checks to run are listed in the pull request template.

Architecture

Module Role
core-scoring Rules, modes, RoundScorer, validation. Pure Kotlin, no Android dependency, tested with JUnit
app Compose application, organized in domain / data / ui layers

Inside app:

  • domain: models, repository interfaces, use cases, game scoring, statistics, undo history, CSV export
  • data: Room 3 (entities, DAOs), repositories, JSON backup, automatic backup, settings
  • ui: Jetpack Compose screens (Material 3) with their ViewModels, Compose navigation, image rendering for sharing
  • di: Hilt modules

The score is never typed in: it is recomputed from the entries (bid, tricks, captured cards, events) and cached for display. Correcting a past round recomputes the whole game.

Stack: Kotlin 2.4, Jetpack Compose, Hilt, Room 3, kotlinx.serialization. minSdk 26.

Build

Requirements: JDK 17 or later (Android Studio's JBR works) and the Android SDK (compileSdk 37).

./gradlew :app:assembleDebug      # debug APK: app/build/outputs/apk/debug/
./gradlew :app:installDebug       # install on a device or an emulator

The release build (:app:assembleRelease) is signed only when the keystore is provided through the SIGNING_* environment variables (see release.yml); otherwise it produces an unsigned APK.

Quality

./gradlew ktlintCheck             # code style (Ktlint); ktlintFormat fixes it automatically
./gradlew detekt                  # static analysis (Detekt), configured in config/detekt/detekt.yml
./gradlew :app:lintDebug          # Android Lint
./gradlew :core-scoring:test :app:testDebugUnitTest

# Instrumented tests (emulator or connected phone): data layer, import / export, end-to-end flows
./gradlew :app:connectedDebugAndroidTest

Style rules live in .editorconfig. Detekt 2 is used in its alpha version, the only one compatible with Kotlin 2.4 at the moment.

Code coverage

JaCoCo reports are generated for the unit tests and for the instrumented tests:

./gradlew :core-scoring:jacocoTestReport                 # core-scoring/build/reports/jacoco/test/
./gradlew :app:createDebugUnitTestCoverageReport         # app/build/reports/coverage/test/debug/
./gradlew :app:createDebugAndroidTestCoverageReport      # needs an emulator or a phone

The CI sends these reports to Codecov, which merges them into the global coverage shown by the badge above and comments on each pull request (unit and instrumented flags).

Demo data

demo/skullking-demo.json contains 12 players and 40 finished games (3 to 8 players, with or without the expansion, in the three modes). Import it from History → Import. The procedure and how to regenerate it are described in demo/README.md. The screenshots above are taken with it, following docs/screenshots/README.md.

Continuous integration

Workflow Trigger Content
ci.yml push main, PR Ktlint, Detekt, Android Lint, unit tests with coverage, instrumented tests (emulator, cached AVD), coverage sent to Codecov, test reports as checks, then debug APK as an artifact
dependency-review.yml PR Flags newly added dependencies that have known vulnerabilities
release.yml tag v* Checks, release APK + AAB, GitHub release publication

Third-party actions are pinned to a commit SHA; Dependabot keeps them up to date. The instrumented-tests job can be turned off by setting the repository variable SKIP_INSTRUMENTED_TESTS to true.

Releasing

  1. Set the default versionName / versionCode in app/build.gradle.kts (versionCode = major * 1000000 + minor * 10000 + patch * 100 + 99): they are used by local builds, the CI overrides them from the tag
  2. Merge into main, then tag: git tag vX.Y.Z && git push origin vX.Y.Z

The release.yml workflow publishes the GitHub release, with notes generated from the merged pull requests: edit them on GitHub to add the highlights.

License and disclaimer

MIT.

Skull King Score is an unofficial, fan-made app, not affiliated with or endorsed by Grandpa Beck's Games, publisher of Skull King. You need the card game to play.

About

Android scorekeeper for the Skull King card game

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages