From a2062335297415443c28b9cd96b76105f185e2c9 Mon Sep 17 00:00:00 2001 From: Daniel de Leng <daniel.de.leng@liu.se> Date: Wed, 3 Jul 2024 15:30:45 +0200 Subject: [PATCH] Refactor library to commandcenter --- .gitignore | 2 +- myagent/extra.py | 2 +- myagent/main.py | 2 +- start.py | 4 ++-- visualdebugger/README.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 6ad85e2..47f6322 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ # Compiled Python code __pycache__/ -# You should download the library file, not store it in version control +# You should download the commandcenter file, not store it in version control *.pyd *.pyc diff --git a/myagent/extra.py b/myagent/extra.py index 2dd568c..b42e6a3 100644 --- a/myagent/extra.py +++ b/myagent/extra.py @@ -1,4 +1,4 @@ -from library import IDABot, Unit, UnitType, TypeData, Point2DI, PLAYER_SELF +from commandcenter import IDABot, Unit, UnitType, TypeData, Point2DI, PLAYER_SELF from typing import Optional diff --git a/myagent/main.py b/myagent/main.py index baf9dc9..624c4f6 100644 --- a/myagent/main.py +++ b/myagent/main.py @@ -1,5 +1,5 @@ from typing import Optional -from library import * +from commandcenter import * from myagent.extra import * diff --git a/start.py b/start.py index 1a418fc..132ca8e 100644 --- a/start.py +++ b/start.py @@ -1,6 +1,6 @@ import os -from library import ( +from commandcenter import ( Coordinator, Difficulty, Race, create_participants, create_computer, ) @@ -9,7 +9,7 @@ from myagent.main import MyAgent def main(): fight_against_agent = False - coordinator = Coordinator(r"D:\StarCraft II\Versions\Base81009\SC2_x64.exe") + coordinator = Coordinator(r"D:\StarCraft II\Versions\Base75025\SC2_x64.exe") bot1 = MyAgent() diff --git a/visualdebugger/README.md b/visualdebugger/README.md index 294b42c..db99e38 100644 --- a/visualdebugger/README.md +++ b/visualdebugger/README.md @@ -11,7 +11,7 @@ types of debuggers simultaneous. In the example below you can see how you get started with the visual debugger. In this example a debugger for a heatmap is set as the debugger. ```python -from library import * +from commandcenter import * import numpy as np import visualdebugger.heat_map_debugger import visualdebugger.flow_debugger -- GitLab