From 5d1d29b0e370c67dae0b130fce53c503956602d6 Mon Sep 17 00:00:00 2001 From: npmrun <1549469775@qq.com> Date: Sun, 26 Apr 2026 23:03:14 +0800 Subject: [PATCH] fix(chase): align core chase types with spec Made-with: Cursor --- src/game/chase/types.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/game/chase/types.ts b/src/game/chase/types.ts index 1b1d48c..774c352 100644 --- a/src/game/chase/types.ts +++ b/src/game/chase/types.ts @@ -2,13 +2,16 @@ export type NodeId = string; export type Difficulty = "easy" | "normal" | "hard"; -export type GameStatus = "idle" | "running" | "won" | "lost"; +export type GameStatus = "setup" | "playing" | "win" | "lose"; export interface GraphNode { id: NodeId; + q: number; + r: number; neighbors: NodeId[]; } export interface GameGraph { nodes: Record; + edgeList: Array<[NodeId, NodeId]>; }