-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.json
112 lines (112 loc) · 2.72 KB
/
config.json
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
102
103
104
105
106
107
108
109
110
111
112
{
"port": 2005,
"feedbackPort": 7005,
"serverPIDPath": "./server.pid",
"feedbackPIDPath": "./feedback.pid",
"dicts": [
{
"name": {
"ru": "Русские слова",
"en": "Russian words"
},
"path": "./words/all.json"
},
{
"name": {
"ru": "Простые русские",
"en": "Easy russian"
},
"path": "./words/easy.json"
},
{
"name": {
"ru": "Средние русские",
"en": "Medium russian"
},
"path": "./words/med.json"
},
{
"name": {
"ru": "Сложные русские",
"en": "Hard russian"
},
"path": "./words/hard.json"
},
{
"name": {
"ru": "Английские слова",
"en": "English words"
},
"path": "./words/english-nouns.json"
}
],
"feedbackPath": "./feedback.log",
"env": "staging",
"defaultSettings": {
"delayTime": 3000,
"explanationTime": 40000,
"aftermathTime": 3000,
"strictMode": false,
"termCondition": "words",
"wordsetType": "serverDictionary",
"dictionaryId": 0,
"wordsNumber": 100,
"roundsNumber": 10
},
"settingsRange": {
"delayTime": {
"min": 0,
"max": 100000
},
"explanationTime": {
"min": 0,
"max": 1000000
},
"aftermathTime": {
"min": 0,
"max": 100000
},
"wordsNumber": {
"min": 1,
"max": 1000
},
"roundsNumber": {
"min": 1,
"max": 1000
}
},
"transferTime": 1000,
"minKeyLength": 6,
"maxKeyLength": 11,
"keyConsonant": [
"б", "в", "г", "д", "ж",
"з", "к", "л", "м", "н",
"п", "р", "с", "т", "ф",
"х", "ц", "ч", "ш", "щ"
],
"keyVowels": [
"а", "е", "и", "о", "у",
"э", "ю", "я"
],
"DEVEL": "devel",
"STAGING": "staging",
"PROD": "prod",
"appName": "TheTrueHat",
"protocolVersion": "2.0",
"mode": "online",
"mapOutcome": {
"explained": "guessed",
"mistake": "failed",
"notExplained": ""
},
"statSendConfig": {
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"protocol": "https:",
"hostname": "m20-sch57.site",
"port": "3005",
"path": "/feedback"
}
}