Card Parlor | HTML5 Game
Card Parlor is a premium collection of 29 classic card games in one HTML5 game: solitaires, table games against computer players, casino games and quick games, all on a luxurious green felt table with hand-crafted gold-trimmed cards. Klondike, Spider, FreeCell, Pyramid, TriPeaks, Hearts, Spades, Euchre, Gin Rummy, Blackjack, Baccarat, Five Card Draw and many more, each with an animated “How to play” demo.
The game is written in plain JavaScript with the HTML5 Canvas: no framework, no build step and no server code. Open index.html and play, in portrait or landscape, on phones, tablets and desktop browsers.
29 Games in One
- Solitaire (14): Klondike (draw 1 or 3), Spider (1, 2 or 4 suits), FreeCell, Pyramid, TriPeaks, Golf, Yukon, Scorpion, Forty Thieves, Canfield, Baker’s Dozen, Beleaguered Castle, Clock and Accordion.
- Table games against computer players (
: Hearts, Spades, Euchre, Gin Rummy, Crazy Eights, Go Fish, Old Maid and Durak. - Casino (3): Blackjack (hit, stand, double, split), Baccarat and Five Card Draw poker, with saved chips.
- Quick games (4): Higher or Lower, War, Speed (real time, 3 speeds) and Memory (3 sizes).
Features
- One shared card engine: drag and drop with a tilt, tap to move, card flights and flips, unlimited undo, auto-complete and the classic bouncing-card win finale
- Smart hints: a real solver in FreeCell, hints that never go round in circles in the other solitaires, and computer players that also suggest your best move
- Animated “How to play” on every game: a pointing hand plays the key move on a mini table
- Living table: slow light beams, drifting gold glow and dust over the felt
- Animated logo, scene transitions, confetti, achievement banners and hover effects
- Lobby with game sections, an illustrated icon for every game and a daily “Tonight’s Picks” row
- Daily challenge (the same deal for everyone each day)
- XP and levels, 16 achievements, 5 card backs and 4 tables to unlock
- Stats for every game: played, won, streaks, best time and best score
- Unfinished solitaire games are saved and can be continued later; progress, chips and settings are kept (localStorage)
- Two music tracks (lounge menu, brighter game track) and card sound effects; music pauses when the tab is hidden
- Portrait and landscape layouts for every game, left-handed mode, fullscreen button
- Web app manifest: players can add the game to their home screen
- Works from a web server and directly from the file system
Easy to Customise
- One commented config.js: animation speed, scoring, player names, game targets, Blackjack chips and more
- All art as PNG files (card atlas, backs, tables, icons, buttons) and all audio as MP3 files: reskin by replacing files
- One readable JavaScript file per game; add or remove a game with one script line and one lobby entry
- Documented API to add your own card games on top of the engine
- Full HTML documentation included
Ads and Analytics Ready (Third-Party Services)
Important: the ad and analytics integrations are optional hooks only. Platforms such as Google AdSense, Google AdMob and Google Analytics are external services: each one requires its own external account (usually with an approval process), has its own terms and policies, and has its own specific costs or revenue-sharing model. None of these accounts, services or SDKs are included with this item.
- Hooks for game start, win, loss and a “continue” hook that waits for your own rewarded-ad code
- Connect your own ad or analytics service such as Google AdSense, Google AdMob or Google Analytics (external accounts required; each platform has its own costs or revenue-sharing model)
- Ads are switched off by default and the game works fully without any service
Third-party services disclaimer: Card Parlor does not include any ad network or analytics account, SDK or service. Services such as Google AdSense, Google AdMob and Google Analytics are provided by third parties: each one may require its own external account and approval, has its own terms and policies, and may involve fees, revenue sharing or other costs. You are responsible for creating and managing these accounts, for complying with their terms and with the laws that apply to you (for example privacy and cookie-consent rules such as GDPR), and for any costs they involve. The author of this item is not affiliated with these companies and is not responsible for their services.
Technical
- HTML5, JavaScript and Canvas 2D, no frameworks or libraries
- Scales to any screen in portrait or landscape (sharp on high-DPI phones)
- Chrome, Edge, Firefox, Safari and Opera on desktop, Android and iOS
What You Get
- The complete game source (HTML, JavaScript, PNG images, MP3 audio, fonts)
- Documentation
Credits
Fonts: Cinzel, Lato and Playfair Display (SIL Open Font License 1.1, included in the documentation). All pictures, card designs, music and sound effects were made for this item.