Skip to content

feat(pet): add pickle wishes, a scrapbook, and variety favorites - #27

Merged
yannelli merged 2 commits into
mainfrom
feat/pet-wishes-scrapbook
Oct 19, 2026
Merged

yannelli merged 2 commits into
mainfrom
feat/pet-wishes-scrapbook

Conversation

@yannelli

Copy link
Copy Markdown
Owner

Wishes: up to two a day (slots at 9:00 and 15:00, quiet 22:00 to 9:00), each lasting 6 hours. The pickle asks to be fed the next rotation food, cleaned, petted, played a named shared game, or put down for a nap. Granting one gives +10 happiness, plus 5 coins on iOS. Refused feeds still leave the rotation alone, and reminders and push text are unchanged.

Scrapbook: hatch, naming, stage changes, and a 32-slot elder album are derived from bornAt. Only first game, first wish, and first arena run are stored. Streak stickers at 3, 7, 14, and 30 days use the existing iOS streak rule, which the web now mirrors in little-dill.visits.v1. Favorites: each variety has a fixed food and game worth +4 happiness. New save fields are optional on both clients, malformed values are dropped on load, .dill round trips carry them, and CACHE_VERSION is little-dill-v18.

Checks: node --test tests/*.test.cjs 232/232 pass; xcodebuild test -only-testing:LittleDillTests (Xcode-beta 27.0, iPhone 16 Pro simulator) ran 125 tests with 2 failures in ArenaAudioParityTests.testLoopKeepsTimeAcrossSnapshotsSwitchesAndStops, which fails the same way on main. tests/fixtures/pet-parity.json is generated by tests/generate-pet-parity.cjs. Wish chip and scrapbook rendering, UI tests, and device behavior were not checked.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
pickle d0439b2 Oct 19 2026, 02:51 AM

Wishes: up to two per local day outside 10pm-9am, one active for 6 hours. Kinds are feed (next rotation food), clean (hygiene < 80), pet, play (named game), and nap (energy < 50). Granting adds 10 happiness, plus 5 coins on iOS. Shared rules live in pet-life.js and PetLife.swift.

Scrapbook: derives hatch, naming, and stage moments from bornAt, shows a 32-slot elder album, and stores first game, first wish, and first arena run. The web streak follows the iOS rule and travels in .dill native extras. Stickers unlock at 3/7/14/30 days.

Favorites: each variety has one food and one game worth +4 happiness. tests/fixtures/pet-parity.json keeps JS and Swift aligned. New save fields are optional. CACHE_VERSION is little-dill-v18.
@yannelli
yannelli force-pushed the feat/pet-wishes-scrapbook branch from 3228f53 to d0439b2 Compare October 19, 2026 02:50
@yannelli
yannelli merged commit dba2dad into main Oct 19, 2026
3 checks passed
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