Repository navigation
Conversation
) Left alone, every 8 to 15 s it stretches, yawns, waves, dances or looks around: CSS on the body or the face, no new art. Never while the page is hidden, under reduced motion, asleep or in the middle of a reaction; a touch starts the wait over, and falling asleep ends a gesture so it cannot wake it. A stroke of the finger across it is a cuddle: hearts follow the finger and the bond counts it as «acariciar» under the 30 s rule; the click that ends a stroke is not a touch. A double tap is a jump and a laugh. www/games/companero/sonidos.js synthesises a crunch, bubbles, a bounce, a laugh and a yawn with WebAudio: no files and no network. Nothing plays unless the app's sound setting is on (read, never written); a touch opens the AudioContext, and the idle yawn never opens it by itself. The browser checks inject a probe before the page loads, so the app carries no test hook. They count sounds, not contexts: the core opens its own AudioContext on the first touch even with sound off.
This branch has not been deployed
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 #40
Gestures
Touch
acariciarunder the 30 s rule. The click that ends a stroke is not a touch.touch-action: pan-y, so a vertical swipe still scrolls.Sounds
www/games/companero/sonidos.jssynthesises a crunch, bubbles, a bounce, a laugh and a yawn with WebAudio: no files, no network.Checks run locally
node tools/test-companero.js: 280 green, five runs.node tools/test.js: 5,610 green ·./tools/browser-check.sh: 52 of 52.