Repository navigation
Companion: wanting to eat, play and bathe, growing as you play (#39) - #44
Merged
Merged
Conversation
The companion now wants things, and «wishes, never needs» still holds: its ganas grow with the games finished in the whole app, read from the core's stats and never written, and never with time away. One level more every 3 games (eat), 4 (play) and 5 (bathe), up to 3; a year with no games leaves them as they were. At 3 the bubble says it, in words of wanting («All that playing gave me an appetite!»), and the companion opens eager. Any food, play or the soap brings its gana back to 0, with +2 bond when it had reached 2. Left alone, nothing happens. Three small gauges sit under the bond, each with a name for a screen reader. Each gana keeps the game count it was last tended at, saved at once, so games played before this never count, a saved care keeps its bond, and erased stats bring the counts down instead of breaking.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #39
The companion now wants things, and «wishes, never needs» still holds (owner's decision, 2026-11-03).
The rule
C.stats.get().plays, which the companion never writes.Saved data
Checks run locally
node tools/test-companero.js: 271 green, twice in a row. New:node tools/test.js: 5,610 green ·./tools/browser-check.sh: 52 of 52.