- Room lifecycle: remove old rooms
- Player mode: big tile for one player.
- Flexible player tile layout (see
projects/client/src/Grid.ts
). - Settings config
- Menu, new game form at
/
.
- Install dependencies
npm install
- Copy
template.env
to.env
in the same directory, and modify if necessary (likely no changes needed for a local dev setup).
npm run dev
Or separately:
- Build and watch TypeScript:
npm run watch
. - Start front-end Vue development server (Vite):
npm run dev-client
. - Start Express development server:
npm run dev-server
.
npm run build
Lint with ESLint
npm run lint
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
TypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue
types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensions
from VSCode's command palette - Find
TypeScript and JavaScript Language Features
, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Window
from the command palette.