-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
24 lines (16 loc) · 656 Bytes
/
Copy pathmain.py
File metadata and controls
24 lines (16 loc) · 656 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import os
from src.play_game_versions import play_game_version, run_all_game_configurations
def main():
# Modify these
game_version = 2
path_to_file = "game_data/original_yashi_7x7.csv"
show_plot = True
count_sol = False
# Save path
base_path = 'game_results/'
save_game_path = base_path + os.path.splitext(os.path.basename(path_to_file))[0]
print(f"Playing game: {os.path.splitext(os.path.basename(path_to_file))[0]}, Version: {game_version}.")
play_game_version(path_to_file, save_game_path, game_version, show_plot, count_sol)
if __name__ == "__main__":
main()
# run_all_game_configurations(True)