Minesweeper: the classic Windows-era puzzle, rebuilt from scratch in Pascal and WebAssembly
Pascalsweep is a clone of the classic Windows-XP-era mine-clearing puzzle. Choose Easy (9×9, 10 mines), Medium (16×16, 40 mines), or Hard (30×16, 99 mines), then clear every safe cell without detonating a mine, flood-filling open ground, reading adjacent-mine-count numbers, and flagging suspected mines as you narrow down the board.
How to play
Left-click a cell to reveal it: an empty cell floods open its connected neighbors automatically, while a numbered cell tells you how many mines touch it. Right-click a hidden cell to cycle it through flag → "?" → clear, marking cells you believe (or suspect) hide a mine. Your first click is always safe: mines aren't placed until you make it, so you can never lose on move one. Press 1, 2, or 3 before that first click to pick Easy, Medium, or Hard. Click the face at the top of the board, or press R, to restart at any time. Clear every non-mine cell to win; click a mine and it's game over. On touch devices, tap to open a cell and long-press to flag it.
How it's built
The whole game, board generation, flood-fill, timing, and every pixel of rendering, is written in the Pascal language and compiled straight to WebAssembly by wasmpascal, a Pascal-to-WASM compiler.
About the developer
I'm Ewald Horn, a software developer: I build all kinds of things, not just games. Pascalsweep is one example from a personal collection of small browser projects used to explore systems programming, WebAssembly, and just for fun. I might be available for freelance development work.