// the find
muan/emoji-minesweeper
:boom::bomb::boom:
A browser-based Minesweeper clone where the board is rendered entirely in emoji instead of numbers and grey tiles, using Twitter's twemoji library for consistent cross-platform rendering. It's for developers who want a small, self-contained example of DOM-based game logic or just want a goofy weekend project to fork, not for anyone looking for a maintained game library.
The API is refreshingly minimal — `new Game(cols, rows, bombs, [emojis], twemojiOrNot)` is the entire public surface, so reading game.js top to bottom actually tells you how it works. It ships a manifest.json and sw.js, so it's installable as a PWA out of the box, which is a nice touch for a toy project. Letting you swap in arbitrary emoji sets for empty/bomb/flag/starter tiles is a cute bit of flexibility that costs nothing in API complexity.
The README admits it's 'a work in progress' and the repo has had no commits since 2022, so that status is permanent — don't expect bug fixes or the listed 'Mobile!' TODO to ever land. There's no test file anywhere in the tree, so any fork touching game.js is flying blind on regressions. It's a single global `Game` class with no module exports (no package.json visible in the truncated tree), meaning integrating it into a modern bundler-based project likely means copy-pasting source rather than `npm install`-ing it.