A collection of small browser games and the shared, reusable packages that power them
Find a file
2026-07-04 09:55:54 +02:00
.github/workflows chore: update release action to not publish to npm 2026-04-03 03:18:06 +02:00
.husky chore: security hardening 2026-07-03 23:04:52 +02:00
.vscode chore: use eslint for linting & formatting 2026-04-02 14:41:52 +02:00
apps/mnswpr chore: security hardening 2026-07-03 23:04:52 +02:00
docs/decisions chore: add contribution guidance 2026-07-04 09:19:22 +02:00
packages chore: add contribution guidance 2026-07-04 09:19:22 +02:00
scripts chore: monorepo scripts (dev, build, db, etc) 2026-07-03 20:25:33 +02:00
sites chore: restructure to new cozy-games monorepo 2026-07-03 13:53:13 +00:00
.gitignore chore: security hardening 2026-07-03 23:04:52 +02:00
.nvmrc chore: update release gh action 2026-04-03 03:03:08 +02:00
.secretlintignore chore: security hardening 2026-07-03 23:04:52 +02:00
.secretlintrc.json chore: security hardening 2026-07-03 23:04:52 +02:00
AGENTS.md chore: infra tooling and configs 2026-07-03 21:54:29 +02:00
CONTRIBUTING.md chore: Add CONTRIBUTING.md guide for humans 2026-07-04 09:55:54 +02:00
eslint.config.js chore: monorepo scripts (dev, build, db, etc) 2026-07-03 20:25:33 +02:00
LICENSE Create LICENSE 2023-03-10 09:42:58 +01:00
package.json chore: security hardening 2026-07-03 23:04:52 +02:00
pnpm-lock.yaml chore: security hardening 2026-07-03 23:04:52 +02:00
pnpm-workspace.yaml chore: infra tooling and configs 2026-07-03 21:54:29 +02:00
README.md chore: Add CONTRIBUTING.md guide for humans 2026-07-04 09:55:54 +02:00
screenshot.png chore: add sreenshot 2026-07-03 10:29:17 +02:00
vitest.config.js chore: restructure to new cozy-games monorepo 2026-07-03 13:53:13 +00:00

Cozy Games

A monorepo for Cozy Games — a growing collection of small browser games and the shared, reusable packages that power them.

Layout

cozy-games/
├── apps/          Playable games (each deploys independently)
│   └── mnswpr/    Minesweeper — mnswpr.com  (@ayo-run/mnswpr engine + Firebase leaderboard)
├── packages/      Shared, publishable libraries
│   ├── mnswpr/       @ayo-run/mnswpr   — the vanilla Minesweeper game engine
│   ├── leaderboard/  @cozy-games/leaderboard — backend-agnostic, time-windowed leaderboard
│   └── utils/        @cozy-games/utils — shared browser utilities (storage, timer, …)
└── sites/         Docs (Astro Starlight) and UI demos  — placeholders for now

Each app owns its own backend config (e.g. mnswpr's Firestore rules live in apps/mnswpr/); the shared packages stay backend-agnostic.

Contributing & development

Setup, running games locally, testing, code style, and local infra all live in CONTRIBUTING.md. In short — this is a pnpm workspace:

pnpm i                     # install
pnpm test                  # run the test suite
pnpm -F mnswpr run dev     # run the Minesweeper app locally

See apps/mnswpr/README.md for the game itself, and each package's README for library usage.

License

BSD-2-Clause © Ayo Ayco