diff --git a/server/machines/round.ts b/server/machines/round.ts index 45e52140..32bad9c0 100644 --- a/server/machines/round.ts +++ b/server/machines/round.ts @@ -42,6 +42,17 @@ const roundMachine = setup({ states: { turn: { entry: [{ type: "setQuestion", params: dynamicParamFuncs.setQuestion }], + on: { + turnEnd: { + target: "roundEnd", + // guard: (_, __) => { + // check to see if round end conditions are met + // }, + }, + }, + }, + roundEnd: { + type: "final", }, }, });