# CODEBUDDY.md This file provides guidance to CodeBuddy Code when working with code in this repository. ## Overview `tts-like` is a Tabletop Simulator-like board game platform built on [boardgame.io](https://boardgame.io) (rules engine + relay server) with a React/SVG web client. The desktop shell uses Tauri (not yet started). The product name shown in the UI is **滑稽社TTS (hxs TTS)**. The architecture is a strict 4-layer separation: **game definitions** (pure boardgame.io `Game` objects) ← **rules engine** (`@tts-like/engine`, pure functions, no UI/network) → **network relay** (`@tts-like/server`, server-authoritative) → **UI** (`@tts-like/ui` primitives rendered by `apps/web`). ## Repository / Workspace layout pnpm workspace (`pnpm-workspace.yaml` globs `packages/*` and `apps/*`). Each package/app has its own `package.json` with scripts; run them via `pnpm --filter @tts-like/