Skip to content

Add Alphabet Soup game; generalize game infra out of Inkfall#369

Merged
AllTerrainDeveloper merged 2 commits into
trunkfrom
add/alphabet-soup-game
Jul 18, 2026
Merged

Add Alphabet Soup game; generalize game infra out of Inkfall#369
AllTerrainDeveloper merged 2 commits into
trunkfrom
add/alphabet-soup-game

Conversation

@AllTerrainDeveloper

@AllTerrainDeveloper AllTerrainDeveloper commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds Alphabet Soup, a daily/time-attack word-search game built on the Games hub's scoreboard, challenges, and share-card conventions. The daily seed is derived from the UTC calendar date so every player worldwide gets the same puzzle regardless of timezone.
  • Promotes Inkfall's dictionary loader, Pixi type surface, and word-list build script out into shared src/games/ modules (dictionary.ts, pixi-types.ts, bin/build-game-words.mjs) so new games reuse them instead of forking Inkfall's copies.
  • Adds a shared share-card.ts (finished-run score image) and desktop-like.ts (the narrow wp.desktop surface game bundles read) so Inkfall and Alphabet Soup no longer carry drifting duplicate copies of the same DesktopLike helper.

Test plan

  • npm run build
  • npm run lint
  • npm run typecheck
  • npm run test:js (2051 tests passing)
  • Manual QA on :8889 — launch Alphabet Soup from the Games hub, play a Daily and a Time Attack run, confirm share card + scoreboard + challenge flow, verify Inkfall is unaffected by the shared-module extraction

🤖 Generated with Claude Code

Open WordPress Playground Preview

Promotes Inkfall's dictionary loader, Pixi type surface, and word-list
build script into shared src/games/ modules (dictionary.ts,
pixi-types.ts, bin/build-game-words.mjs) so new games can reuse them
instead of forking Inkfall's copies. Adds a shared share-card.ts for
the finished-run score image and a shared desktop-like.ts for the
narrow wp.desktop surface game bundles read, so Inkfall and Alphabet
Soup no longer carry drifting copies of the same DesktopLike helper.

Alphabet Soup itself is a daily/time-attack word-search game sharing
the Games hub's scoreboard, challenges, and share-card conventions.
The daily seed is derived from the UTC calendar date so every player
gets the same puzzle regardless of timezone.
Missed in the previous commit: the header comment still referenced
the old bin/build-inkfall-words.mjs script name.
@AllTerrainDeveloper
AllTerrainDeveloper merged commit 6b5e16e into trunk Jul 18, 2026
5 checks passed
@AllTerrainDeveloper
AllTerrainDeveloper deleted the add/alphabet-soup-game branch July 18, 2026 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant