Black FridayGame templates at Black Friday pricesEnds in See the deals

Łamigłówki · HTML5

Mahjong Garden

Tile-matching puzzle with 60 levels in 4 worlds

autor: Polar GamesWersja 1.0.0Zaktualizowano 8 lis 2026

  • Kod źródłowy
  • Demo na żywo
  • Z dokumentacją
Licencja bezterminowa49 USD 41,65 USD -15%Kup teraz
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.

Ekrany z tej edycji

Zrobione w edycji sprzedawanej tutaj.

W zestawie

  • 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

Nie wchodzi w skład tej edycji

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

Co jest w pliku ZIP

Prawdziwa struktura folderów pobieranej paczki, z nazwami i rozmiarami odczytanymi bezpośrednio z niej.

mahjong-garden-1.0.0-complete.zip573 plików · 49,8 MB
  • mahjong-garden-static-1.0.0/572 plików · 49,8 MB
    • documentation/Przewodnik HTML, otwórz go przed zakupem1 plik · 386 KB
      • index.html386 KB
    • game/Gotowe do hostingu: wgraj ten folder280 plików · 24,7 MB
      • assets/Grafika, dźwięk i czcionkiMP3 · SVG · TXT · WEBP · WOFF2 · 246 plików · 24,4 MB
      • css/CSS · 4 plików · 146 KB
      • src/Moduły kodu źródłowegoJS · 28 plików · 153 KB
      • DOCUMENTATION.txt1 KB
      • index.html1 KB
    • source/Czytelny kod źródłowy286 plików · 24,7 MB
      • assets/Grafika, dźwięk i czcionkiMP3 · SVG · TXT · WEBP · WOFF2 · 246 plików · 24,4 MB
      • css/CSS · 4 plików · 146 KB
      • src/Moduły kodu źródłowegoJS · 28 plików · 153 KB
      • test/Testy automatyczneMJS · 2 plików · 4 KB
      • tools/Skrypty do budowania i sprawdzaniaMJS · 2 plików · 2 KB
      • index.html1 KB
      • package-lock.json1 KB
      • package.json1 KB
      • README.md2 KB
    • THIRD-PARTY-LICENSES/Informacje o licencjach, które warto przechowywać razem z grą2 plików · 5 KB
      • fredoka-OFL.txt4 KB
      • README.txt1 KB
    • CHANGELOG.txtHistoria wersji1 KB
    • DOCUMENTATION.htmlOtwiera przewodnik1 KB
    • START-HERE.txtSzybki start1 KB
  • POLAR-MARKETPLACE-START-HERE.txtZacznij tutaj: licencja, wsparcie i pierwsze kroki1 KB

Szczegóły produktu

Edycja
Standalone Browser Edition
Wersja
1.0.0
Data wydania
8 lis 2026
Zaktualizowano
8 lis 2026
Kategoria
Łamigłówki
Języki
Angielski, Portugalski, Hiszpański, Francuski, Niemiecki, Włoski, Niderlandzki, Polski, Turecki, Rosyjski, Indonezyjski, Japoński, Koreański, Chiński uproszczony
Dołączone pliki
HTML, CSS, JavaScript, JSON, SVG, WebP, MP3, WOFF2
Technologie
HTML5, JavaScript, Canvas 2D, Web Audio
Przeglądarki
Nowoczesne przeglądarki z obsługą WebGL2
Dokumentacja
Dokumentacja

Autor

Polar Games

Brazylijskie studio tworzące gry przeglądarkowe. Każdy szablon tutaj to gra, którą sami stworzyliśmy i opublikowaliśmy.

Zobacz nasze gry

Wymagania

  • 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

Wsparcie obejmuje pytania techniczne i możliwe do odtworzenia błędy w dostarczonej grze. Instalacja i dostosowanie to osobne usługi.

Lista zmian

  1. 1.0.08 lis 2026

Pytania

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.

Przeczytaj pełny regulamin licencji, wsparcia, zwrotów i prywatności

Before you buy: guides and reviews

Z Brazylii na cały świat

Kupujący w 25 krajach

Licencjonuj gotową grę HTML5 z kodem źródłowym dla swojej strony, aplikacji lub marki.

  • 900+sprzedaży
  • 25krajów
  • 2016sprzedajemy od
Kraje, w których sprzedaliśmy: Brazylia, Stany Zjednoczone, Wielka Brytania, Niemcy, Kanada, Australia, Francja, Indie, Holandia, Hiszpania, Włochy, Japonia, Korea Południowa, Polska, Meksyk, Szwecja, Szwajcaria, Singapur, Zjednoczone Emiraty Arabskie, Arabia Saudyjska, Indonezja, Turcja, Portugalia, Filipiny, Wietnam.

Więcej od Polar Games

Mahjong Garden49 USD 41,65 USD -15%
Kup teraz