Pegged in your browser

Pegged, the peg-solitaire board game from the Entertainment Pack. Pegged runs in Wine-Assembly, a Windows 98 emulator written in WebAssembly Text, so it starts in the browser with nothing to install.

Launch Pegged →

Pegged running in Wine-Assembly

About this program

Detail
Executable pegged.exe
Format 32-bit Windows (PE)
Libraries loaded beside it none; everything else is the emulator's own Win32 layer
Desktop group Entertainment Pack

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.

Something wrong? The emulator is open source; report it on GitHub with the app name and what you clicked.

Questions

How do I play Pegged in my browser?

Open the Pegged 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 Pegged?

Click a peg and then the hole two spaces away to jump; the Options menu chooses the board layout.

Does Pegged work on a phone?

It loads in mobile Safari and Chrome and the desktop scales to the screen, but Pegged 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 Pegged 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 Pegged have sound here?

Pegged has no sound; the original plays none.

Is this the real Pegged or a remake?

It is the original 32-bit Windows (PE) executable (pegged.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 "Entertainment Pack"

FreeCell · Solitaire · Cruel · Golf · Rattler · Rodent's Revenge · Taipei · TicTactics · Reversi · Minesweeper

All programs on the desktop · How Wine-Assembly was built