Mahjong

Saved games stay in this browser only.

About the game

This is the solitaire game played with Mahjong tiles: 144 tiles are stacked in a pattern, and you clear them two at a time by matching identical tiles that are free, meaning nothing lies on top and at least one side is open. Clear the board and you win.

You choose between four layouts: Turtle, Bridge, Castle and Pyramids. Every deal is guaranteed to be winnable, so a stuck board is always your own choice of pairs, never bad luck. If you get stuck, the game can undo your last pick or match, redo it, and show a hint that cycles through the pairs you can still make. The counter in the corner tells you how many tiles are left.

Playing it here

Vircon32 is a 32-bit virtual game console designed by Carra: a fantasy machine that never existed as hardware, with a 640x360 screen, 16 sound channels and a simple gamepad, built to be easy to program and to emulate. This game is a native Vircon32 cartridge, so it runs here in the console's official emulator, compiled for the browser; no BIOS or firmware from any company is needed, because the standard open source BIOS of the project is built in.

Click Play, press Enter at the title screen and choose a layout with the arrows. A column at the left reminds you of the buttons.

Controls

Key Console button Action
Arrows D-pad move the cursor
X A pick a tile / make a pair
Z B undo the pick or the last pair
A Y redo
S X show a hint
Enter Start pause, quit

On a phone or tablet the console's buttons appear on screen, under the picture (or on the sides, with the device lying down). A game controller connected to the browser also works. F2 saves the emulator state and F4 loads it. The game's own saves are kept in your browser.

Tips

Free the tall stacks first. Tiles that hide many others are the ones that block you later.

Watch for lone tiles. Most faces come in sets of four: if you pair two of them badly, you may leave a third with no partner reachable.

Use the hint as a teacher. When you are stuck, the hint shows what you missed; undo is free, so experiment.

Credits and licence

Mahjong was made by Carra (Copyright 2023) and is free and open source under the 3-Clause BSD licence; by the repository's default the assets are under CC BY 4.0. The gameplay music is adapted from "Sakuya" by PeriTune (CC BY 4.0); the title music was made for the game by Rhymecosta and the win tune by FraynVGM. The tile faces are adapted from "Pixel Assets - Mahjong Tiles" by Blueeyedrat, which allows use and modification in commercial and non-commercial projects. We built the cartridge ourselves from the author's source with the official Vircon32 tools; the licence text and the exact source are linked from this page.

Screenshots

Screenshot of Mahjong Screenshot of Mahjong