-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstate.js
More file actions
36 lines (36 loc) · 905 Bytes
/
Copy pathstate.js
File metadata and controls
36 lines (36 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
export const state = {
mode: "6-bit",
bitOrientation: "vertical",
show24HourFormat: false,
helpVisible: false,
digitalVisible: true,
digitalVisibleBeforeHelp: null,
scanlinesVisible: true,
lsbFirst: false,
autoOrient: true,
theme: "classic-rgb-neon",
randomMode: false,
randomThemeIntervalId: null,
modeTransitioning: false,
transitionTargetMode: null,
transitionTimeoutId: null,
transitionArmId: null,
transitionActivateId: null,
themeMotionTimeoutId: null,
orientationTransitionTimeoutId: null,
orientationTransitionArmId: null,
orientationTransitionActivateId: null,
pendingTick: null,
intervalId: null,
// Game mode state
gameMode: null, // null | "bit-clicking" | "quiz"
gameActive: false,
gameScore: 0,
gameLevel: 1,
gameQuestionsAnswered: 0,
gameStreak: 0,
gameTimerSeconds: 0,
gameDifficulty: "normal", // normal, hard
gameTargetValue: 0,
quizTimeRemaining: 0
};