★ Play Live in Your Browser — WebAssembly (Rust) & HTML5 Canvas

Classic Mahjong.
Instant in Browser.

xMahjong is an instant-play WebAssembly solitaire web app powered by Rust. Play 100 levels across Tux Penguin, Puppy Dog, Space Explorer, and Grandmaster phases. Featuring responsive desktop and mobile viewport modes, Web Audio sound synthesis, LocalStorage auto-save, and guaranteed solvable boards.

100 Levels
4 Progressive Campaign Phases
Desktop & Mobile
Portrait Pagoda & 16:9 Turtle
100% Solvable
Deterministic Reverse Deal
Zero Installs
Runs in Any Web Browser

Play on Any Screen: Desktop & Mobile Views

Enjoy smooth 16:9 cinematic Turtle boards on widescreen displays or switch to the portrait Pagoda layout optimized for smartphones.

🖥️ Desktop Web View (16:9)

Turtle Layout
https://xmahjong.easysmartapps.co.uk/
xMahjong desktop web view with classic 16:9 Turtle formation

Full status pill badges, keyboard shortcut support, and 5-layer Turtle formation.

📱 Mobile Portrait View

Pagoda Layout
xmahjong (Mobile Mode)
xMahjong mobile portrait view with Pagoda formation and bottom toolbar

Touch-optimized 8-column Pagoda formation, auto-framing, and thumb-friendly bottom toolbar.

Play Online Now 🚀

Built for Speed & Web Portability

Powered by a compiled Rust core running client-side in WebAssembly with zero server lag.

Dual Desktop & Mobile Views

Smart auto-detection matches your device. Enjoy 16:9 cinematic Turtle boards on desktop and 8-column touch-friendly Pagoda boards with bottom controls on phones.

Guaranteed Solvability

Every single board is generated backward from a solved state with reverse-deal algorithms. No impossible deals or deadlocks from start.

Lives, Hints & Multi-Undo

Use hints to locate matching pairs, step back with multi-level undo, or spend lives to reshuffle stuck layouts. Earn bonus lives on every fresh level clear.

Synthesized Web Audio FX

Crisp real-time procedural audio synthesis for clicks, pair matches, shuffles, and victory chimes directly via the HTML5 Web Audio API without audio lag.

LocalStorage Auto-Save

Seamlessly save and resume your progress across sessions. Retains highest unlocked level, total score, remaining lives, settings, and Top 10 High Scores.

Full Keyboard Accessibility

Power players on laptops and desktops can trigger hints (H), undo (U), shuffle (S), pause (P/ESC), and mute (M) instantly via hotkeys.

How to Play in 3 Simple Steps

Zero installation needed. Open the web link in any modern browser on your desktop, laptop, or smartphone.

xMahjong Web App Icon

xMahjong

WebAssembly (Rust) + HTML5 Canvas Mahjong Solitaire web application.

Start Matching Free Tiles

Here is how to get the most out of your game session:

1

Launch Web App

Open the game in Chrome, Safari, Firefox, Edge, or mobile browsers. Everything runs client-side via WebAssembly.

2

Select Device View & Difficulty

Toggle between Desktop 16:9 view and Mobile portrait view. Choose Normal or Easy difficulty depending on your play style.

3

Match Pairs & Progress 100 Levels

Select unblocked matching tiles. Clear all 144 tiles to unlock next levels, climb the leaderboard, and earn extra lives.

100-Level Campaign & Phase System

Progress through four themed phases with increasing tile complexity and distinct sprite artwork.

🐧 Phase 1: Tux Penguin

Levels 1 – 25

Features classic Linux Tux penguin tiles exclusively. Master matching fundamentals as tile counts scale up to full boards.

  • Tux tile sprites (IDs 0–49)
  • 36 to 144 board tile density
  • Great for beginners & quick matches

🐶 Phase 2: Puppy Dog

Levels 26 – 50

Introduces puppy dog styles into the sprite pool. Diverse canine breeds mix into the randomized solvable deals.

  • 5 distinct dog style families (IDs 50–99)
  • Progressive face pool expansion
  • Tested for balanced pair distribution

🚀 Phase 3: Space Explorer

Levels 51 – 75

Astronaut Tux, aliens, constellations, and space-themed tile sets expand the visual variety and challenge.

  • Space-themed sprite sets (IDs 100–149)
  • Deep 5-layer vertical stacks
  • Larger distinct face pools

👑 Phase 4: Grandmaster

Levels 76 – 100

The ultimate Mahjong Solitaire test. Combines all 200 face sprites across full 144-tile boards for maximum challenge.

  • Full 200-face sprite pool (IDs 0–199)
  • Full 144-tile Turtle & Pagoda boards
  • Auto-win detection for stacked pairs