forked from Torom/BotLi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
enums.py
70 lines (58 loc) · 1.46 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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 Game_Status(Enum):
CREATED = 'created'
STARTED = 'started'
ABORTED = 'aborted'
MATE = 'mate'
RESIGN = 'resign'
STALEMATE = 'stalemate'
TIMEOUT = 'timeout'
DRAW = 'draw'
OUT_OF_TIME = 'outoftime'
CHEAT = 'cheat'
NO_START = 'noStart'
UNKNOWN_FINISH = 'unknownFinish'
VARIANT_END = 'variantEnd'
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'