Skip to content

Repository files navigation

Mosslight Terrace

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.

Stack

  • 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

Getting started

bun install
bun run dev

The 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 build

Only Bun lockfiles are allowed. bun run check:package-manager fails if another package manager's lockfile is introduced.

First vertical slice

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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages