-
Notifications
You must be signed in to change notification settings - Fork 1
/
PlaynetConstants.ts
101 lines (92 loc) · 2.46 KB
/
PlaynetConstants.ts
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
// External Constants
export const FEEDBACK_FORM_URL =
'https://docs.google.com/forms/d/e/1FAIpQLSfpCmyRZ7Ilrg263iYYiXLaM8UWX7iK9aSuVl0_u8mguvxgiA/viewform?usp=sf_link';
export const DEFAULT_CONFIGS = {
VOICEOVER_MUTED: true,
GAME_SOUNDS_MUTED: false,
AUTOPLAY: false,
};
export enum HeaderSections {
INTRO = 'intro',
ACTIVITIES = 'activities',
FEEDBACK = 'feedback',
DAY_OF_CODE = 'day_of_code',
}
export const TAB_INFO: { [key in HeaderSections]: { link: string, text: string } } = {
[HeaderSections.INTRO]: {
link: '/',
text: 'Intro',
},
[HeaderSections.ACTIVITIES]: {
link: '/activities',
text: 'Activities',
},
[HeaderSections.FEEDBACK]: {
link: '/feedback',
text: 'Feedback',
},
// [HeaderSections.DAY_OF_CODE]: {
// link: '/day-of-code',
// text: 'Day of Code',
// },
};
// Internal Constants
export enum TextBubbleStyles {
EXTRA_LARGE = 'x-large',
LARGE = 'large',
SMALL_LEFT = 'small-left',
SMALL_RIGHT = 'small-right',
MEDIUM = 'medium',
NONE = 'none',
}
export enum PlaynetColors {
BLACK = 'black',
HOVER = '#3A71B2',
CORRECT_GREEN = '#1CC64B',
INCORRECT_RED = '#FF0000',
LIGHT_BLUE = '#0094FF',
}
export enum AnswerChoiceBoxStyles {
LARGE_PERCENT_BASED = 'choice-container',
SMALL_PX_BASED = 'px-choice-container',
}
export enum AnswerDisplayStyles {
WHITE_BACKGROUND = 'white-background',
NO_BACKGROUND = '',
RED_BORDER = 'red-outline black-text',
GREEN_BORDER = 'green-outline black-text',
ANSWER_SPOT = 'gray-background gray-text'
}
// Section Specific Constants
// INTRO
export enum VideoChoices {
CHILL_GIRL = 'chill_girl',
BABY_SHARK = 'baby_shark',
NETHER_PORTAL = 'nether_portal',
NONE_CHOSEN = 'none_chosen', // no video has been chosen yet
}
export const VideoInfo: Record<VideoChoices, { url: string, rocket_word: string }> = {
[VideoChoices.CHILL_GIRL]: {
url: 'https://www.youtube.com/embed/lTRiuFIWV54',
rocket_word: 'Lofi',
},
[VideoChoices.BABY_SHARK]: {
url: 'https://www.youtube.com/embed/XqZsoesa55w',
rocket_word: 'Shark',
},
[VideoChoices.NETHER_PORTAL]: {
url: 'https://www.youtube.com/embed/h27ugp3gzWI',
rocket_word: 'Minecraft',
},
[VideoChoices.NONE_CHOSEN]: { // default to lofi beats
url: 'https://www.youtube.com/embed/lTRiuFIWV54',
rocket_word: 'Lofi',
},
};
// ACTIVITY1
export const Activity1Game1Values = {
MAX_HAPPINESS: 80,
CORRECT_PTS: 20,
INCORRECT_PTS: -10,
THRESHOLD_TO_HELP_PER_GAME: 8,
};