-
Notifications
You must be signed in to change notification settings - Fork 0
/
consts.py
60 lines (50 loc) · 1.12 KB
/
consts.py
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
SCREEN_W = 800
SCREEN_H = 600
CODER_W = 20
CODER_H = 20
CURSOR_W = 8
CURSOR_H = 12
BUG_W = 30
BUG_H = 30
BUG_FIELD_Y = 50
BUG_FIELD_X = 50
SNIPPET_SPEED = 0.2
EXCEPTIE_H = 30
EXCEPTIE_W = 30
EXCEPTIE_SPEED = .1
# Points / Level
LEVEL_1_POINTS = 15
LEVEL_2_POINTS = 100
LEVEL_3_POINTS = 750
LEVEL_4_POINTS = 3500
LEVEL_5_POINTS = 10000
MSEC_BETWEEN_BUGS = [
(2000, 3500), # lvl 0
(1500, 3000), # lvl 1
(1500, 2500), # lvl 2
(1000, 2500), # lvl 3
(1000, 2000), # lvl 4
( 750, 1750), # lvl 5
( 500, 1750), # lvl 6
( 500, 1500) # lvl 7
]
MSEC_BETWEEN_EXCEPTIONS = [
(2000, 3500), # lvl 0
(1500, 3000), # lvl 1
(1500, 2500), # lvl 2
(1000, 2500), # lvl 3
(1000, 2000), # lvl 4
( 750, 1750), # lvl 5
( 500, 1750), # lvl 6
( 500, 1500) # lvl 7
]
EXCEPTION_SPEEDS = [ #
(.080, .030), # lvl 0
(.080, .080), # lvl 1
(.100, .080), # lvl 2
(.100, .100), # lvl 3
(.120, .100), # lvl 4
(.120, .150), # lvl 5
(.150, .120), # lvl 6
(.180, .200) # lvl 7
]