Mahjong Sweet Shop: free the tiles, fill the tray, bake your way through four shops.
Mahjong Sweet Shop is an HTML5 triple tile-matching template with full source code and a cozy candy shop theme. Players tap a tile that no other tile covers, it flies to a tray of seven slots, and three alike disappear. The edition has 60 levels in four shops, a cat baker mascot, a guided tutorial, three helpers, 14 interface languages and a ready-to-host game folder.

Four shops, sixty levels
Sweet Shop, Ice Cream Shop, Bakery and Chocolate Shop each bring their own level background, a level map with a stop for every level and a sheet of 12 tile pictures: cupcakes, macarons, donuts, sundaes, popsicles, croissants, pretzels, truffles, cookies and more. Levels grow from 9 to 90 tiles, and every level is generated from a stored solution, so it can always be won.

A cat baker as your guide
The orange kitten in a chef hat and strawberry apron waves on the map, points at the glowing tiles during the tutorial, jumps when you win and sits down sad when the tray fills up. Sakura petals fall on the menu, candy confetti bursts on the win screen and screens change with an animated transition.

Helpers, coins and stars
Undo takes back a move, Hint shows three tiles that match and Shuffle rearranges what is left while keeping the level solvable. Strawberry coins come from every trio and every win, and each level awards up to three stars: fewer helpers, more stars.
14 languages, every screen size
The interface is translated into 14 languages and starts in the language of the device. Candy shop artwork exists for landscape, portrait and ultra-wide screens, so the game fits phones, tablets, desktops and wide monitors. A "Tap to start" screen unlocks sound on mobile browsers.

Built on a proven engine
Mahjong Sweet Shop uses the same tested engine and rules as our Mahjong Garden template, with an all-new candy shop theme: start screen, scenery, maps, tiles, mascot, logo, ribbons, buttons and coin. The neutral interface frames and icons, the sound effects and the music are the same as in Mahjong Garden.
Your game, your hosting
Upload the contents of the game folder to static HTTP(S) hosting and open index.html. No database, PHP, account, server or Node.js runtime is needed, and normal play makes no requests to ranking, advertising or payment services. The package includes the editable project, an illustrated offline guide in English, Portuguese and Spanish with a gallery of real screenshots, a separate step-by-step customization guide and the font licence notice.
What this edition does not include
Native apps, hosting and custom development are not included, nor are online multiplayer, an online ranking, in-app purchases or an advertising SDK. The included translations are supplied as they are: have a native speaker review them before launching in a new market.
Customise it
CUSTOMIZATION.html shows real screenshots with numbered parts and the file behind each one, and gives recipes to replace any picture, the logo, the cat, the tile sheets, the shop backgrounds and maps, sounds and music, texts, colors and the font, and to change level sizes, helpers and coins. Plain JavaScript modules and CSS, no framework, no build step.
Technical details at a glance
- Stack: HTML5, plain JavaScript modules and CSS, Canvas 2D and Web Audio, with no third-party code and no game engine.
- Files: HTML, CSS, JavaScript, JSON, SVG, WebP, JPG, MP3 and WOFF2.
- Languages: 14 interface languages and a guide in English, Portuguese and Spanish.
- Browsers: Chromium-based browsers 105+, Firefox 121+, Safari 16+, desktop and mobile.
- Saves: the browser's local storage, with no account or cloud sync.
- Tests: npm test wins all 60 levels by their stored solution, checks the rules and the shuffle, and checks the 14 languages. Node.js 26.13 or newer is only used for the tests, the local server and the copy command.






















