I built a Windows 98-style desktop in plain JavaScript, with 20+ original games
I wanted the feeling of the family PC in the 90s: FLAMES on the back page of a notebook, Minesweeper in the school lab, and no install. So I built a whole fake desktop that runs in the browser. Try it (free, no sign-up,
I wanted the feeling of the family PC in the 90s: FLAMES on the back page of a notebook, Minesweeper in the school lab, and no install. So I built a whole fake desktop that runs in the browser.
Try it (free, no sign-up, desktop works best): https://artisansmedia.com/nostalgia/
What's in it
- A boot screen, Start menu, draggable and resizable windows, a taskbar and a clock
- 20+ original games: Minesweeper, Solitaire, a split-screen racer, a first-person maze shooter, a motocross game, a top-down racer, a Contra-style run-and-gun for two players, a Pac-style maze chase, a frog-crossing game, and playground classics like FLAMES and Book Cricket
- A worldwide leaderboard, a daily challenge that is the same for everyone, sweets to collect and a few hidden secrets in the folders
How it's built
- Plain JavaScript, no framework and no build step. The window manager, Start menu and all the games are static files on GitHub Pages behind a Cloudflare Worker.
- Server-checked scores. Letting anyone post scores to a public leaderboard invites cheating. A game asks a Supabase Edge Function for a signed one-time token when it starts. Snake and Minesweeper also send a replay of the moves, which the server re-runs with the same shared simulation code to confirm the score is real.
- Music made on the fly. Each game has its own chiptune loop generated with the Web Audio API, so there are no audio files to download.
- Retro look from one shared pass. A small post-process pixelates every canvas and adds scanlines, so all the games match.
- Seeded randomness makes the daily challenge identical for everyone on Earth.
A disclosure
I built this with an AI coding assistant (Claude), which wrote a lot of the code while I steered. All the games, art and sounds are original and made for this project. It is a fan-made tribute and not affiliated with any company.
What I would like feedback on
What game should be in the basement next? Anything broken on your browser? What did you play first?
Thanks for reading.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.