Bricks in your browser
Bricks, a community remake of the Klotski sliding-block puzzle. Bricks runs in Wine-Assembly, a Windows 98 emulator written in WebAssembly Text, so it starts in the browser with nothing to install.

About this program
| Detail | |
|---|---|
| Executable | bricks.exe |
| Format | 32-bit Windows (PE) |
| Libraries loaded beside it | none; everything else is the emulator's own Win32 layer |
| Data files mounted | 16 |
| Desktop group | Community WEP Remakes |
How it runs here
The x86 code is interpreted by threaded code written in WebAssembly Text; windows, controls, menus and dialogs are the emulator's own Win32 layer, and every pixel is drawn by a software GDI in the same module. See how the program and its DLLs are loaded.
Reverse-engineering notes for this program:
Something wrong? The emulator is open source; report it on GitHub with the app name and what you clicked.
Questions
How do I play Bricks in my browser?
Open the Bricks page and click Launch. The program's files are fetched from this site and run inside the tab as WebAssembly; nothing is installed and nothing is uploaded.
What are the controls for Bricks?
Drag a brick with the mouse toward the space it should fill; the red block has to reach the exit at the bottom. Shift+S toggles sound and the other letters in the left column are Shift shortcuts too. The buttons on the right undo, replay and change level.
Does Bricks work on a phone?
It loads in mobile Safari and Chrome and the desktop scales to the screen, but Bricks was made for a mouse and a keyboard, so it plays best on a desktop browser. Taps act as clicks.
Are my scores and settings saved?
Whatever Bricks writes to the Windows registry or to its INI file is kept in this browser's local storage, so it is there next time on the same device and browser. Clearing site data removes it.
Does Bricks have sound here?
Yes, once you turn it on: Bricks starts with sound off, and Shift+S switches it on (the S in the icon column at the left is the legend for that key, not a button). Its 15 sound files are included and play through PlaySound. Browsers only allow audio after a click or a key press.
Is this the real Bricks or a remake?
It is the original 32-bit Windows (PE) executable (bricks.exe), run instruction by instruction by an x86 interpreter written in WebAssembly Text. The emulator provides the Windows API underneath it, not a rewrite of the program.
Also under "Community WEP Remakes"
EmPipe · Funtris · Peaks · Pyramid · FourStones · CWordZap · Blackjack