Skip to content

πŸŽ‰ Air Hockey Solitaire – v1.2.2

Choose a tag to compare

@petesimple petesimple released this 04 Feb 02:19
· 62 commits to main since this release
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.