-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathenums.py
54 lines (44 loc) · 1.12 KB
/
enums.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
from enum import Enum
class Challenge_Color(Enum):
WHITE = 'white'
BLACK = 'black'
RANDOM = 'random'
class Decline_Reason(Enum):
GENERIC = 'generic'
LATER = 'later'
TOO_FAST = 'tooFast'
TOO_SLOW = 'tooSlow'
TIME_CONTROL = 'timeControl'
RATED = 'rated'
CASUAL = 'casual'
STANDARD = 'standard'
VARIANT = 'variant'
NO_BOT = 'noBot'
ONLY_BOT = 'onlyBot'
class Variant(Enum):
STANDARD = 'standard'
FROM_POSITION = 'fromPosition'
ANTICHESS = 'antichess'
ATOMIC = 'atomic'
CHESS960 = 'chess960'
CRAZYHOUSE = 'crazyhouse'
HORDE = 'horde'
KING_OF_THE_HILL = 'kingOfTheHill'
RACING_KINGS = 'racingKings'
THREE_CHECK = 'threeCheck'
class Perf_Type(Enum):
BULLET = 'bullet'
BLITZ = 'blitz'
RAPID = 'rapid'
CLASSICAL = 'classical'
ANTICHESS = 'antichess'
ATOMIC = 'atomic'
CHESS960 = 'chess960'
CRAZYHOUSE = 'crazyhouse'
HORDE = 'horde'
KING_OF_THE_HILL = 'kingOfTheHill'
RACING_KINGS = 'racingKings'
THREE_CHECK = 'threeCheck'
class Busy_Reason(Enum):
OFFLINE = 'offline'
PLAYING = 'playing'