Skip to content

🚀 Air Hockey Solitaire v1.2.3 (PWA)

Latest

Choose a tag to compare

@petesimple petesimple released this 04 Feb 07:12
· 36 commits to main since this release
7fcaff8

🚀 Air Hockey Solitaire v1.2.3 (PWA)

Klondike Solitaire (1-draw) with air hockey table backs, puck-inspired cards, and now a full installable PWA build.

✅ What’s New
• PWA support
• manifest.json
• service-worker.js (offline caching)
• App icons (192 + 512) based on the AH Solitaire logo
• iOS Add to Home Screen support
• Settings modal fix
• Close button now actually closes (no more modal blocking gameplay)
• Backdrop click + Esc close supported
• Default card back
• Brunswick is the first-run default
• User selection persists via localStorage
• Audio stability
• WebAudio functions moved into proper scope so sound + settings don’t break

🎮 Core Features (Recap)
• Klondike Solitaire, 1 card draw, timed
• Move counter
• Undo
• Auto-finish to foundations when safe
• Table-back selector UI (drop new PNGs into cards/backs/)
• Sound toggles (shuffle, place, win)
• Win fireworks (card burst celebration)

📦 Install / Offline Play
• Deploy to GitHub Pages (or any static host)
• Visit once online to cache assets
• Install:
• iOS Safari: Share → Add to Home Screen
• Android Chrome: Menu → Install app

🧠 Dev Notes

If you update assets later and want clients to refresh their offline cache, bump:
• CACHE_NAME inside service-worker.js

🔧 Files Changed
• main.js (scope + settings close fix + default back)
• manifest.json (PWA metadata)
• service-worker.js (offline caching)
• icon-192.png, icon-512.png (app icons)
• index.html (manifest + SW registration + iOS tags)