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.
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
Full status pill badges, keyboard shortcut support, and 5-layer Turtle formation.
📱 Mobile Portrait View
Pagoda Layout
Touch-optimized 8-column Pagoda formation, auto-framing, and thumb-friendly bottom toolbar.
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.
Start Matching Free Tiles
Here is how to get the most out of your game session:
Launch Web App
Open the game in Chrome, Safari, Firefox, Edge, or mobile browsers. Everything runs client-side via WebAssembly.
Select Device View & Difficulty
Toggle between Desktop 16:9 view and Mobile portrait view. Choose Normal or Easy difficulty depending on your play style.
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
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
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
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
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