Skip to content

Commit

Permalink
feat: slightly reduce time after face off results
Browse files Browse the repository at this point in the history
  • Loading branch information
agrattan0820 committed Oct 11, 2023
1 parent 52c982a commit 338968e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/client/src/components/game/game-machine.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const gameMachine = createMachine(

faceOffResults: {
after: {
20000: [
18000: [
{
target: "winnerLeadUp",
cond: "completedRounds",
Expand Down
12 changes: 6 additions & 6 deletions apps/client/src/components/game/game-machine.typegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export interface Typegen0 {
"xstate.after(10000)#Machine.winner": {
type: "xstate.after(10000)#Machine.winner";
};
"xstate.after(20000)#Machine.faceOffResults": {
type: "xstate.after(20000)#Machine.faceOffResults";
"xstate.after(18000)#Machine.faceOffResults": {
type: "xstate.after(18000)#Machine.faceOffResults";
};
"xstate.after(4000)#Machine.nextRound": {
type: "xstate.after(4000)#Machine.nextRound";
Expand All @@ -34,14 +34,14 @@ export interface Typegen0 {
services: never;
};
eventsCausingActions: {
incrementQuestionIdx: "xstate.after(20000)#Machine.faceOffResults";
incrementQuestionIdx: "xstate.after(18000)#Machine.faceOffResults";
resetContext: "NEXT";
startNewRound: "xstate.after(20000)#Machine.faceOffResults";
startNewRound: "xstate.after(18000)#Machine.faceOffResults";
};
eventsCausingDelays: {};
eventsCausingGuards: {
completedCurrentRound: "xstate.after(20000)#Machine.faceOffResults";
completedRounds: "xstate.after(20000)#Machine.faceOffResults";
completedCurrentRound: "xstate.after(18000)#Machine.faceOffResults";
completedRounds: "xstate.after(18000)#Machine.faceOffResults";
};
eventsCausingServices: {};
matchesStates:
Expand Down

0 comments on commit 338968e

Please sign in to comment.