Mahjong Treasure Quest is an entire HTML5 triple tile matching sport with a pirate treasure theme. A cheerful pirate octopus leads the participant from a sunny seaside to a sunken ship, an underwater temple and a cave filled with gold: faucet the free tiles, acquire three of a form within the 7-slot tray and clear the board throughout 60 ranges. Add the sport folder to any static net host and it performs on telephones, tablets and desktops, with no server code, database, account or advertisements.
The sport runs on the identical examined engine and guidelines as our Mahjong Backyard template. The theme is all new: surroundings, tile footage, mascot, emblem, buttons, home windows and the treasure results.
4 pirate worlds
- Tropical Island, Sunken Ship, Sunken Temple and Treasure Cave: 15 ranges every. Each world has its personal background for the map and the degrees (panorama and portrait) and its personal sheet of 12 tile footage: shells, compasses, anchors, treasure maps, parrots, ship wheels, pearls, jellyfish, idols, crowns, rubies, diamonds and extra.
- Pirate octopus mascot with completely satisfied, victory and unhappy poses. It waves on the menu, waits on the map, cheers on the win window and worries when the tray is nearly full.
- Pirate interface: spherical sea-and-gold buttons, wood stage stops with pirate hats, a wood tray with brass corners, parchment home windows with rope and lanterns, a treasure chest that opens and drops cash if you win.
- Artwork for panorama and portrait screens, from small telephones and tablets to ultra-wide displays.
Gameplay
- Faucet a tile that’s not lined; it flies to the tray. Three equal tiles disappear; a full tray with no trio ends the extent.
- Undo, Trace and Shuffle helpers on each stage, cash for every trio and every win, and as much as three stars (fewer helpers, extra stars).
- A guided tutorial on stage 1 factors on the glowing tiles to faucet, step-by-step.
- Each stage is generated from a set seed with a saved resolution; the included assessments play all 60 ranges and verify that shuffling retains a stage solvable.
- Treasure results: tiles shatter into shards and sparkles when a trio clears, cash go away a path on their method to the counter, tropical leaves drift over the island and bubbles rise within the two underwater worlds. Animated display transitions, combo sounds and vibration on telephones that assist it.
Straightforward to make your individual
- Plain JavaScript modules and CSS, no framework, no dependencies and no compile step: edit a file and reload.
- A separate step-by-step customization information for non-programmers: which file attracts each a part of every display (with sizes), and recipes to switch the backgrounds, the octopus, the tile sheets, the brand, sounds and music, texts, colours, the font, stage sizes, helpers and cash.
- Helpers, cash and world names in
src/config.js; stage sizes insrc/sport/ranges.js; all texts insrc/i18n.js; small, documented modules insrc/app/. - 14 interface languages: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Russian, Turkish, Japanese, Korean, Chinese language and Indonesian, with a take a look at that checks each textual content key. The translations are included as equipped; have a local speaker evaluate them earlier than launching in a brand new market.
Within the obtain
sport/: the completed sport, prepared for any static HTTP host.supply/: the editable mission with rule and language assessments and an area preview server.- An offline illustrated information in English, Portuguese and Spanish (set up for newcomers, numbered screens, a gallery of actual screenshots, file map, inner names, saves, cache and troubleshooting), the customization information,
START-HERE.txtand a changelog.
Technical notes
- Static recordsdata solely: no PHP, database or on-line service, and the sport makes no exterior requests. Progress, cash and settings are saved within the browser.
- Node.js (present LTS, 26.13 or newer) is non-compulsory, just for the assessments, the native preview and copying the recordsdata to
sport/. - For present browsers on desktop and cell: Chrome, Edge, Firefox, Safari (macOS, iPhone and iPad), Opera, Courageous and Samsung Web (Chromium-based 105+, Firefox 121+, Safari 16+). As with all net sport, verify your goal gadgets earlier than publishing.
- Consists of the art work proven within the demo, sound results, music and the Fredoka font (SIL Open Font License).
Questions or customized work (new themes, ranges, retailer variations)? Write to [email protected].

