Skip to content

Releases

🚀 Air Hockey Solitaire v1.2.3 (PWA)

Choose a tag to compare

@petesimple petesimple released this 04 Feb 07:12
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)

🎉 Air Hockey Solitaire – v1.2.2

Choose a tag to compare

@petesimple petesimple released this 04 Feb 02:19
569b80b

🎉 Air Hockey Solitaire – v1.2.2

Klondike, but make it air hockey

This release completes the first full, polished version of Air Hockey Solitaire, part of the nostalgia suite of casual games.

Classic Klondike Solitaire rules, reimagined with sanctioned air hockey table backs, puck-inspired card faces, and modern quality-of-life features.

⸻

🃏 Gameplay
• Klondike Solitaire
• 1-card draw
• No jokers
• Timed play

⸻

✨ Features
• ⏱ Timer
• 🔢 Move counter
• ↩️ Undo (multi-step, safe)
• 🤖 Auto-finish to foundations (only when safe)
• 🃏 Drag & drop + tap-to-move
• 🎆 Win celebration with card fireworks

⸻

🏒 Air Hockey Styling
• Custom card backs based on sanctioned air hockey tables
• Card faces inspired by:
• Yellow, Red, and Green puck colors
• Classic toasted-cream mallet tone
• Easily expandable card back library

⸻

⚙️ Settings Panel
• Card back selector
• Sound controls:
• Master enable
• Shuffle
• Place
• Win
• Settings persist via localStorage
• Close button + backdrop + Esc support (desktop friendly)

⸻

🔊 Sound Design
• Web Audio API (no external audio files)
• Subtle, nostalgic tones
• Fully optional and configurable

⸻

🧱 Technical Notes
• Vanilla HTML / CSS / JavaScript
• No frameworks
• No dependencies
• Static-host friendly (GitHub Pages ready)

⸻

🐞 Fixes in this Release
• Fixed card sizing / cropping issue
• Fixed missing backs.js causing 404s
• Fixed Settings Close button blocking gameplay
• Hardened settings + back selector logic

⸻

📦 Folder Reminder

When deploying, include the full structure:

index.html
style.css
main.js
cards/fronts/
cards/backs/ (including backs.js)

⸻

❤️ Why This Exists

Solitaire is timeless.
Air hockey is timeless.
This is what happens when they meet.

Play a hand.
Move some cards.
Play puck.