Black FridayGame templates at Black Friday pricesEnds in See the deals

Puzzel · HTML5

Mahjong Garden

Tile-matching puzzle with 60 levels in 4 worlds

door Polar GamesVersie 1.0.1Bijgewerkt 9 nov 2026

  • Broncode
  • Live demo
  • Gedocumenteerd
Licentie voor altijdUS$ 49 US$ 41,65 -15%Nu kopen
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.

Schermen van deze editie

Vastgelegd uit de editie die hier wordt verkocht.

Inbegrepen

  • 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

Niet inbegrepen in deze editie

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

Wat er in de ZIP zit

De echte mapstructuur van het pakket dat je downloadt, met namen en groottes rechtstreeks eruit gelezen.

mahjong-garden-1.0.1-complete.zip573 bestanden · 49,8 MB
  • mahjong-garden-static-1.0.1/572 bestanden · 49,8 MB
    • documentation/HTML-handleiding, open die voordat je koopt1 bestand · 386 KB
      • index.html386 KB
    • game/Klaar om te hosten: upload deze map280 bestanden · 24,7 MB
      • assets/Beeld, audio en lettertypenMP3 · SVG · TXT · WEBP · WOFF2 · 246 bestanden · 24,4 MB
      • css/CSS · 4 bestanden · 146 KB
      • src/BronmodulesJS · 28 bestanden · 154 KB
      • DOCUMENTATION.txt1 KB
      • index.html1 KB
    • source/Leesbare broncode286 bestanden · 24,7 MB
      • assets/Beeld, audio en lettertypenMP3 · SVG · TXT · WEBP · WOFF2 · 246 bestanden · 24,4 MB
      • css/CSS · 4 bestanden · 146 KB
      • src/BronmodulesJS · 28 bestanden · 154 KB
      • test/Geautomatiseerde testsMJS · 2 bestanden · 4 KB
      • tools/Scripts om te bouwen en te controlerenMJS · 2 bestanden · 2 KB
      • index.html1 KB
      • package-lock.json1 KB
      • package.json1 KB
      • README.md2 KB
    • THIRD-PARTY-LICENSES/Licentievermeldingen die je bij je game moet bewaren2 bestanden · 5 KB
      • fredoka-OFL.txt4 KB
      • README.txt1 KB
    • CHANGELOG.txtVersiegeschiedenis1 KB
    • DOCUMENTATION.htmlOpent de handleiding1 KB
    • START-HERE.txtSnelstart1 KB
  • POLAR-MARKETPLACE-START-HERE.txtBegin hier: licentie, support en eerste stappen1 KB

Itemdetails

Editie
Standalone Browser Edition
Versie
1.0.1
Uitgebracht
8 nov 2026
Bijgewerkt
9 nov 2026
Categorie
Puzzel
Talen
Engels, Portugees, Spaans, Frans, Duits, Italiaans, Nederlands, Pools, Turks, Russisch, Indonesisch, Japans, Koreaans, Chinees (vereenvoudigd)
Meegeleverde bestanden
HTML, CSS, JavaScript, JSON, SVG, WebP, MP3, WOFF2
Gebouwd met
HTML5, JavaScript, Canvas 2D, Web Audio
Browsers
Moderne browsers met WebGL2
Documentatie
Documentatie

Auteur

Polar Games

Braziliaanse studio die browsergames maakt. Elk template hier is een game die wij zelf hebben gebouwd en gepubliceerd.

Bekijk onze games

Vereisten

  • 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

Support omvat technische vragen en reproduceerbare gebreken in de geleverde game. Installatie en aanpassingen zijn aparte diensten.

Wijzigingslogboek

  1. 1.0.19 nov 2026
  2. 1.0.08 nov 2026

Vragen

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.

Lees de volledige voorwaarden voor licentie, support, terugbetaling en privacy

Before you buy: guides and reviews

Van Brazilië naar de wereld

Kopers in 25 landen

Licentieer een kant-en-klaar HTML5-spel met broncode voor je website, app of merk.

  • 900+verkopen
  • 25landen
  • 2016verkopen sinds
Landen waar we hebben verkocht: Brazilië, Verenigde Staten, Verenigd Koninkrijk, Duitsland, Canada, Australië, Frankrijk, India, Nederland, Spanje, Italië, Japan, Zuid-Korea, Polen, Mexico, Zweden, Zwitserland, Singapore, Verenigde Arabische Emiraten, Saoedi-Arabië, Indonesië, Turkije, Portugal, Filipijnen, Vietnam.

Meer van Polar Games

Mahjong GardenUS$ 49 US$ 41,65 -15%
Nu kopen