-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.py
More file actions
57 lines (47 loc) · 2.23 KB
/
constants.py
File metadata and controls
57 lines (47 loc) · 2.23 KB
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
SCREEN_SHOT_Y_REMOVAL = 45
SCREEN_SHOT_INTERVAL = .2
BUY1_X1 = 245
BUY1_Y1 = 100
BUY1_X2 = 445
BUY1_Y2 = 392
IMG_SIZE_SCREEN_HEIGHT = 200
IMG_SIZE_SCREEN_WIDTH = 300
IMG_SIZE_CHAR_HEIGHT = 200
IMG_SIZE_CHAR_WIDTH = 100
BAG_IMG_LOCATION = r"status\bagicon.png"
LEVEL_IMG_LOCATION = r"status\level.png"
GOLD_IMG_LOCATION = r"status\gold.png"
STORE_POS_1_PATH = r'store\pos1.png'
STORE_POS_2_PATH = r'store\pos2.png'
STORE_POS_3_PATH = r'store\pos3.png'
STORE_POS_4_PATH = r'store\pos4.png'
STORE_POS_5_PATH = r'store\pos5.png'
BATCH_SIZE = 10
EPOCHS = 3
VALIDATION_SPLIT = .2
DATADIR_SCREENS = "train\\screens"
DATADIR_CHARS = "train\\characters"
X_NAME = "X.pkl"
Y_NAME = "y.pkl"
SCREEN_PATH = "train\\data\\screen"
SCREEN_MODEL_PATH = "train\\data\\screen\\screen.model"
CHAR_PATH = "train\\data\\character"
CHAR_MODEL_PATH = "train\\data\\character\\char.model"
SCREEN_CATEGORIES = ["board", "game_over_transition", "get_item",
"main_menu", "post_game", "post_game_items", "shop", "upgrade_item",
"victory"]
CHAR_CATEGORIES = ["abyssal_guard", "abyssalcrawler", "argail_knight", "berserker", "dark_spirit",
"defector", "desperate_doctor", "devestator", "doom_arbiter", "dragon_knight",
"dwarf_sniper", "e_ranger", "egg", "elder", "empty", "evil_knight",
"fallen_witcher", "flame_wizard", "fortune_teller",
"frost_knight", "frostblaze_dragon", "god_of_thunder", "god_of_war", "goddess_of_light",
"grimtouch", "heaven_bomber", "helicopter",
"hell_knight", "herald", "lightblade_knight",
"lord_of_sand", "ogre_mage", "pirate", "razorclaw", "reaper", "redaxe", "ripper",
"rogue_guard", "shadowcrawler", "shining_archer", "shining_assassin", "shining_dragon",
"siren", "sky_breaker", "soul_breaker", "storm_shaman", "swordsman", "taboo_witcher",
"the_scryer",
"the_source", "thunder_spirit", "tsunami_stalker", "tusk_champ", "umbra",
"unicorn", "venom",
"venomancer", "warpwood_sage", "water_spirit", "werewolf", "whisper_seer", "wind_ranger",
"winter_dragon", "worm"]