@robotical/jumping-game
v0.1.30
Published
A picture-led introduction to press-event programs for children aged 4–7. The interface follows Bubble Popper, with seven discovery missions followed by the original ten-star jumping goal. See [the flow and validation notes](docs/learning-redesign.md).
Readme
Jumping Game
A picture-led introduction to press-event programs for children aged 4–7. The interface follows Bubble Popper, with seven discovery missions followed by the original ten-star jumping goal. See the flow and validation notes.
Local development
npm start
npm run typecheck
CI=true npm test -- --watchAll=false --runInBand
npm run build:devOnly the standalone development app exposes on-screen Cog controls. Marty web app and other library consumers use Cog mode through @robotical/jumping-game/dist/App. The optional onExitGame callback returns to the host; the existing games navigator supplies the next RoboFly game.
Link the package from Marty web app with npm link ../jumping-game, preserving any other existing local links. Share the host’s React and ReactDOM installations to avoid duplicate React copies. Rebuild the library after changes. npm run build:prod builds the production library, and npm run build builds the standalone website.
Visual review
npm run test:visual-phases
npm run test:visual-phases -- --viewport=tablet-portrait-touch-768x1024
npm run test:visual-phases -- --viewport=phone-landscape-844x390
npm run test:visual-phases -- --headed
npm run test:visual-phases -- --base-url=http://127.0.0.1:3019The runner captures Home, the action chooser, each mission starting point, free play, pause and grown-up settings. Timestamped output in visual-reports/ includes index.html, manifest.json and screenshots grouped by viewport. It checks layouts; automated progression tests live in src/learning-game/.
