-
Notifications
You must be signed in to change notification settings - Fork 1
/
player.example.py
46 lines (34 loc) · 2.16 KB
/
player.example.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
# the data in this file is used only in automation functions
# to change the data that the puzzle solver use you need to go ot chessCheater/puzzle_solver/utils/constants.py
# chess.com accounts
ACCOUNTS: list = [
["username", "password"],
]
ELO: int = 2058
HELPER_ELO: int = 1800
# ELO player range for upcommming features
ELO_RANGE: tuple[int] = ( 1589, 1616 )
GAME_MODE: str = "blitz"
time_lists = {
"blitz": [0.1, 0.2, 0.30000000000000004, 0.4, 0.5, 0.6, 0.7, 0.7999999999999999, 0.8999999999999999, 0.9999999999999999, 1.0999999999999999, 1.4, 1.7, 2.0, 2.3, 2.5999999999999996, 2.8999999999999995, 3.1999999999999993, 3.499999999999999, 3.799999999999999, 4.099999999999999, 4.399999999999999, 4.699999999999998, 4.999999999999998, 5.299999999999998, 5.599999999999998, 5.899999999999998, 6.1999999999999975, 6.499999999999997, 6.799999999999997, 7.099999999999997, 7.399999999999997, 7.699999999999997, 7.9999999999999964],
"bullet": [0.1122121, 0.11111111, 0.145, 0.16, 0.22, 0.23, 0.32, 1.1, 1.02, 0.3, 0.5, 0.6, 3.1, 7.7, 8.16, 2.22, 1.2, 0.9, 5.77],
"rapid": [0.1, 0.2, 0.30000000000000004, 0.4, 0.5, 0.6, 0.7, 0.7999999999999999, 0.8999999999999999, 0.9999999999999999, 1.0999999999999999, 1.4, 1.7, 2.0, 2.3, 2.5999999999999996, 2.8999999999999995, 3.1999999999999993, 3.499999999999999, 3.799999999999999, 4.099999999999999, 4.399999999999999, 4.699999999999998, 4.999999999999998, 5.299999999999998, 5.599999999999998, 5.899999999999998, 6.1999999999999975, 6.499999999999997, 6.799999999999997, 7.099999999999997, 7.399999999999997, 7.699999999999997, 7.9999999999999964, 8.299999999999997, 8.599999999999998, 8.899999999999999, 9.2, 9.5, 9.8, 10.100000000000001, 15, 16, 13, 12.25, 11, 17, 30]
}
AUTO_PROMOTE_TO_QUEEN: bool = False
STATIC_DATA: bool = False
FIGURINE: bool = False
BLOCK_DISTANCE: int = 120 # this is not important if STATIC_DATA or HEADLESS is True
HEADLESS: bool = False
HACKERMODE: bool = False
TOURNUMANTES: bool = False
if HEADLESS:
BLOCK_DISTANCE += 10
STATIC_DATA = False
if HACKERMODE:
ELO = None
# Bot Data
PLAYER_COLOR: str = 'white'
# Analytics Data
FLIPPED_BOARD: bool = True
# Puzzle Solver Data
THINKING_TIME: float = 0.1