Mahjong Cosmic Quest is an entire HTML5 triple tile matching recreation set in house. A cheerful robotic astronaut guides the participant by 60 ranges on 4 alien worlds: faucet the free tiles, accumulate three of a sort within the 7-slot tray and clear the board. Add the recreation folder to any static internet host and it is able to play on telephones, tablets and desktops, with no server code, database, account or adverts.
It’s constructed on the identical examined engine and guidelines as our Mahjong Backyard template, with an all-new house theme: surroundings, stage maps, 48 tile photos, a robotic astronaut mascot, brand and interface artwork.
An area journey in 4 worlds
- Nebula Touchdown, Starlight Ocean, Cosmic Backyard and Golden Planet: 15 ranges every, each world with its personal stage map, its personal gameplay background and its personal sheet of 12 house tile photos (rockets, planets, comets, satellites, crystals, jellyfish, submarines, rovers and extra).
- Robotic astronaut mascot with completely happy, pointing, victory and unhappy poses. It waves on the menu, stands on a hover platform on the map, factors through the tutorial and worries when the tray is sort of full.
- Area interface: glowing stage stops on a lightweight path, spherical planet-style buttons, an area window body for pause and settings, stage and coin plaques, floating stardust behind the board.
- Artwork for panorama and portrait screens, from small telephones to ultra-wide screens.
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 reveals the glowing tiles to faucet, step-by-step.
- Each stage is generated from a hard and fast seed with a saved resolution; the included assessments play all 60 ranges and test that shuffling retains a stage solvable.
- Satisfying suggestions: tiles arc into the tray, trios burst into sparkles and cash, fast matches increase the combo sound, animated transitions between screens, vibration on telephones that help it.
Made to be personalized
- 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 backgrounds, the robotic, 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/recreation/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 provided; have a local speaker evaluation them earlier than launching in a brand new market.
Within the obtain
recreation/: the completed recreation, prepared for any static HTTP host.supply/: the editable undertaking with rule and language assessments and a neighborhood preview server.- An offline illustrated information in English, Portuguese and Spanish (set up for inexperienced persons, 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 elective, just for the assessments, the native preview and copying the recordsdata to
recreation/. - For present browsers on desktop and cellular: Chrome, Edge, Firefox, Safari (macOS, iPhone and iPad), Opera, Courageous and Samsung Web (Chromium-based 105+, Firefox 121+, Safari 16+). As with all internet recreation, test your goal gadgets earlier than publishing.
- Contains the paintings 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].

