퍼즐 게임 프로토타입 모음. Vanilla HTML/Canvas/JS + PWA + GitHub Pages.
/ 런처(허브)
shared/ 공통 모듈 (input/storage/loop/ui + 디자인 토큰)
games/<id>/ 각 게임. index.html 진입점.
games/_registry.json 런처가 읽는 게임 목록
python -m http.server 8000
브라우저에서 http://localhost:8000 접속. (file:// 직접 열기는 service worker/ESM 때문에 동작 안 함.)
games/<id>/폴더 생성,index.html/game.js/style.css작성games/_registry.json에 항목 추가service-worker.js의PRECACHE목록에 새 경로 추가,CACHE_VERSIONbump- 로컬 확인 후
git push
- GitHub에 push -> Pages 자동 배포
- 폰 브라우저에서
https://<user>.github.io/game_ghost/접속 - iOS Safari: 공유 -> 홈 화면에 추가. Android Chrome: 메뉴 -> 앱 설치
- 비행기 모드로 오프라인 동작 확인