@robotical/cog-shooter-game
v0.1.28
Published
1) make changes to the code 2) build using npm run build:dev 3) make sure you've linked cog-shooter-game to webapp with npm link ../cog-shooter-game 3.1) but also make sure you keep the other links in webapp npm link ../cog-shooter-game ../robotical.r
Readme
Bubble Popper
Development
- make changes to the code
- build using npm run build:dev
- make sure you've linked cog-shooter-game to webapp with npm link ../cog-shooter-game 3.1) but also make sure you keep the other links in webapp npm link ../cog-shooter-game ../robotical.raftjs ../roboticaljs 3.2) if you're getting hooks erros: npm link ../marty-web-app/node_modules/react ../marty-web-app/node_modules/react-dom from within cog-shooter-game
Visual phase screenshots
Run the learning-game visual review to play through all seven missions and capture the discovery trail, missions, graduation, free play, pause, and grown-up settings:
npm run test:visual-phasesEach run writes a timestamped gallery under visual-reports/ with:
index.html- browsable screenshot gallery.manifest.json- machine-readable capture details.screenshots/- PNG screenshots grouped by viewport.
Useful options:
npm run test:visual-phases -- --viewport=tablet-portrait-touch-768x1024
npm run test:visual-phases -- --headed
npm run test:visual-phases -- --base-url=http://127.0.0.1:3000Learning game
The app now contains a guided event/action adventure for ages 4–7, followed by free play. See the learning redesign for the mission sequence, controller options, accessibility settings, integration details, and validation scope.
npm run typecheck
CI=true npm test -- --watch=false --runInBand
npm run lint
npm run build
npm run build:prodThe existing App default export and optional onExitGame callback are preserved. Progress and settings stay in the browser; no service or account is required.
