Black FridayGame templates at Black Friday pricesEnds in See the deals

Puzzle · HTML5

Mahjong Garden

Tile-matching puzzle with 60 levels in 4 worlds

af Polar GamesVersion 1.0.0Opdateret 8. nov. 2026

  • Kildekode
  • Live-demo
  • Dokumenteret
Tidsubegrænset licens49 US$ 41,65 US$ -15%Køb nu
Start screen with the mole mascot of Spring Garden: Play, sound and settings.Settings: effects and music volume, language selector with 14 languages, and vibration.Level map of the first world: a stone path with a stop for each of the 15 levels.Level 1 with the guided tutorial: the mole shows which tile to tap first.Sunny Pond: new scenery, new tiles and the mole in sunglasses and a swim ring.Autumn Orchard: apples, pumpkins and falling leaves.Snowy Garden: snow falls while you match winter tiles.Victory screen: three stars, coins earned and the next level.

Mahjong Garden: free the tiles, fill the tray, clear the garden.

Mahjong Garden is an HTML5 tile-matching puzzle template with full source code. 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 seasonal worlds, a guided tutorial, three helpers, 14 interface languages and a ready-to-host game folder.

Mahjong Garden: the mole mascot leaping in front of a glowing trio of tiles in a sunny garden.

Four worlds, sixty levels

Spring Garden, Sunny Pond, Autumn Orchard and Snowy Garden each bring their own scenery, 12 tile pictures, a level map with a stop for every level and a weather effect: petals, bubbles, falling leaves or snow. The mole mascot changes outfit with the season. Levels grow from 9 tiles to 90 tiles, and every level is generated from a stored solution, so it can always be won.

The four worlds of Mahjong Garden along one stone path: Spring Garden, Sunny Pond, Autumn Orchard and Snowy Garden.

Made to feel good

Tiles fly to the tray in a little arc, the tray dips as they land, a match bursts into sparkles, petals and coins, and quick matches in a row raise the pitch of the sound. Every tap on the interface gives a small shower of stars, screens change with an animated iris transition, and the mole reacts to what you do. Everything respects the reduced-motion setting of the device.

A trio of tulip tiles bursting into sparkles, petals and coins in the wooden tray, with a combo pop-up.

Helpers, coins and a guided tutorial

Undo takes back a move, Hint points at a trio you can make and Shuffle rearranges what is left while keeping the level solvable. Coins come from every match and win, and each level awards up to three stars. Level 1 teaches the game in seven short steps, every time it starts.

14 languages, every screen size

The interface is translated into 14 languages and starts in the language of the device. The game runs in portrait and landscape on phones, tablets, desktops and ultra-wide screens: in landscape on a phone the tray moves to the side. It works in all current browsers, including Chrome, Edge, Firefox and Safari on iPhone and iPad, with a "Tap to start" screen that unlocks sound on mobile.

Mahjong Garden on a tablet and a phone, with callouts for the guided tutorial, helpers, coins and stars, 14 languages, portrait and landscape, and clean source code.

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. Artwork, audio and the font are all local. The package includes the editable project, an illustrated offline guide in English, Portuguese and Spanish 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.

Who this template is for

Site and portal owners who want a polished casual puzzle, freelancers and studios who need a base for a client's branded tile game, and developers who want to learn from readable JavaScript modules.

Customise it

Change the world list, helpers, coin values and game-feel numbers in src/config.js, the tile count of each level in src/game/levels.js and the texts of all 14 languages in src/i18n.js. Screens and systems live in small files in src/app/, each with a one-line description at the top. The stylesheets are layered in four files: edit the last one that sets a rule. Replace artwork, sounds and music by dropping files with the same names into assets/.

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, 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 checks the rules of all 60 levels and the 14 languages. Node.js 26.13 or newer is only used for the tests, the local server and the copy command.

Billeder fra denne udgave

Taget fra den udgave, der sælges her.

Inkluderet

  • 60 levels in 4 worlds (Spring Garden, Sunny Pond, Autumn Orchard, Snowy Garden), a level map per world, guided tutorial, Undo, Hint and Shuffle, coins and stars. 14 interface languages.
  • Ready-to-host game/ with local artwork, audio and fonts
  • Readable editable source in plain JavaScript modules and CSS (no dependencies, no build step), rule and language tests, and third-party licence notices
  • Illustrated offline buyer guide in English, Portuguese and Spanish

Ikke inkluderet i denne udgave

  • Native apps, hosting and custom development
  • Online multiplayer, online ranking, in-app purchases and advertising SDK

Hvad der er i ZIP-filen

Den rigtige mappestruktur i den pakke, du downloader, med navne og størrelser læst direkte fra den.

mahjong-garden-1.0.0-complete.zip573 filer · 49,8 MB
  • mahjong-garden-static-1.0.0/572 filer · 49,8 MB
    • documentation/HTML-guide, åbn den, før du køber1 fil · 386 KB
      • index.html386 KB
    • game/Klar til hosting: upload denne mappe280 filer · 24,7 MB
      • assets/Grafik, lyd og skrifttyperMP3 · SVG · TXT · WEBP · WOFF2 · 246 filer · 24,4 MB
      • css/CSS · 4 filer · 146 KB
      • src/KildemodulerJS · 28 filer · 153 KB
      • DOCUMENTATION.txt1 KB
      • index.html1 KB
    • source/Læsbar kildekode286 filer · 24,7 MB
      • assets/Grafik, lyd og skrifttyperMP3 · SVG · TXT · WEBP · WOFF2 · 246 filer · 24,4 MB
      • css/CSS · 4 filer · 146 KB
      • src/KildemodulerJS · 28 filer · 153 KB
      • test/Automatiske testsMJS · 2 filer · 4 KB
      • tools/Scripts til build og kontrolMJS · 2 filer · 2 KB
      • index.html1 KB
      • package-lock.json1 KB
      • package.json1 KB
      • README.md2 KB
    • THIRD-PARTY-LICENSES/Licensoplysninger, der skal følge med dit spil2 filer · 5 KB
      • fredoka-OFL.txt4 KB
      • README.txt1 KB
    • CHANGELOG.txtVersionshistorik1 KB
    • DOCUMENTATION.htmlÅbner guiden1 KB
    • START-HERE.txtHurtig start1 KB
  • POLAR-MARKETPLACE-START-HERE.txtStart her: licens, support og første skridt1 KB

Produktdetaljer

Udgave
Standalone Browser Edition
Version
1.0.0
Udgivet
8. nov. 2026
Opdateret
8. nov. 2026
Kategori
Puzzle
Sprog
Engelsk, Portugisisk, Spansk, Fransk, Tysk, Italiensk, Nederlandsk, Polsk, Tyrkisk, Russisk, Indonesisk, Japansk, Koreansk, Forenklet kinesisk
Medfølgende filer
HTML, CSS, JavaScript, JSON, SVG, WebP, MP3, WOFF2
Bygget med
HTML5, JavaScript, Canvas 2D, Web Audio
Browsere
Moderne browsere med WebGL2
Dokumentation
Dokumentation

Udvikler

Polar Games

Brasiliansk studie, der laver browserspil. Hver skabelon her er et spil, vi selv har bygget og udgivet.

Se vores spil

Krav

  • Any current browser: Chrome, Edge, Firefox, Safari, Opera and other modern browsers (Chromium 105+, Firefox 121+, Safari 16+)
  • Static HTTP(S) hosting; no database or author account required

Supporten dækker tekniske spørgsmål og reproducerbare fejl i det leverede spil. Installation og tilpasning er separate ydelser.

Ændringslog

  1. 1.0.08. nov. 2026

Spørgsmål

Do I need to build the game?

No. Upload the contents of game/ to HTTP(S) hosting. The source is plain JavaScript modules and CSS with no dependencies; the build command only copies the files to game/.

Which browsers does it support?

All current browsers, desktop and mobile: Chrome, Edge, Firefox, Safari (macOS, iPhone, iPad), Opera, Brave and Samsung Internet. Minimum versions are Chromium-based browsers 105, Firefox 121 and Safari 16. It was tested automatically in the Chromium, Firefox and WebKit engines; test on your target devices before publishing.

Where is progress saved?

Locally in the current browser, with no account or cloud sync.

What licence applies?

The Polar Games Marketplace terms shown at checkout apply.

How do I change levels, worlds or texts?

Edit src/config.js for the world list, helpers, coin values and feel numbers, src/game/levels.js for the tile count of each level, and src/i18n.js for the texts of the 14 languages. Replace artwork, sounds and music by dropping files with the same names into assets/.

Can I add a language?

Yes. Add a text table to src/i18n.js, add its name to the language list and run npm test: the language test checks that every text key is present. The included translations are supplied as they are; have a native speaker review them before launching in a new market.

Læs de fulde vilkår for licens, support, refusion og privatliv

Before you buy: guides and reviews

Fra Brasilien til hele verden

Købere i 25 lande

Licensér et færdigt HTML5-spil med kildekode til dit website, din app eller dit brand.

  • 900+salg
  • 25lande
  • 2016sælger siden
Lande, hvor vi har solgt: Brasilien, USA, Storbritannien, Tyskland, Canada, Australien, Frankrig, Indien, Nederlandene, Spanien, Italien, Japan, Sydkorea, Polen, Mexico, Sverige, Schweiz, Singapore, De Forenede Arabiske Emirater, Saudi-Arabien, Indonesien, Tyrkiet, Portugal, Filippinerne, Vietnam.

Mere fra Polar Games

Mahjong Garden49 US$ 41,65 US$ -15%
Køb nu