Something went wrong. Try again.
[agents] A world simulation/game thingie that I'm using as a playground for agent development
Something went wrong. Try again.
Files
- TypeScript 100%
- JavaScript <1%
- Shell <1%
- CSS <1%
- HTML <1%
- 2 more languages <1%
README.md
effect-browser-game #
A browser game built with Effect v4. This repository is designed to be developed entirely by coding agents.
Requirements #
- Node 26 (see
.nvmrc/.node-version) - npm 11+
Quick start #
npm install # also patches TypeScript + Oxlint via @effect/tsgo
npm run dev # http://localhost:5173
Commands #
| Command | Description |
|---|---|
npm run dev |
Vite dev server |
npm run build |
Typecheck + production build |
npm run preview |
Preview the production build |
npm test |
Run tests (Vitest) |
npm run typecheck |
tsc --noEmit with Effect diagnostics |
npm run lint |
Oxlint with type-aware Effect rules |
npm run format |
Prettier |
Project structure #
src/game/— pure, deterministic game core (Effect).src/main.ts— thin browser adapter.test/— Vitest tests..scratch/— specs, issues & context; the source of truth for work.AGENT_NOTES.md— running log of agent decisions for later review.agent-patterns/— distilled Effect patterns for agents.repos/— vendored upstream source (read-only reference)..agents/skills/— Matt Pocock's engineering skills (project-scoped).
Working on this repo #
Agents: read AGENTS.md first. It defines the layout, the
Effect rules, the validation loop, and the specs workflow.