An original cozy farming and restoration game for the browser. The player tends a small wetland terrace, grows unusual herbs, and helps relight a dormant community beacon.
This project takes broad inspiration from the farming/life-sim genre while using original characters, crops, setting, writing, interface, maps, audio, and art.
- Bun for dependencies, scripts, and tests
- React + TypeScript for the shell and HUD
- Phaser 4 for the 2D world
- Convex for durable game saves and backend rules
- Vite for development and production builds
bun install
bun run devThe first run provisions an anonymous local Convex development deployment and
starts Vite. Convex writes its local connection settings to .env.local.
Useful commands:
bun run dev:web # frontend only; requires an existing Convex deployment
bun run convex:once # sync backend functions once and regenerate types
bun run lint
bun run typecheck
bun run test
bun fmt
bun run buildOnly Bun lockfiles are allowed. bun run check:package-manager fails if another
package manager's lockfile is introduced.
The target is a 10–15 minute loop: prepare a plot, plant and water an original crop, sleep to advance the day, harvest, sell at the dock, and persist the result through Convex. Movement and rendering remain local; Convex owns durable progression and economy rules.