This commit is contained in:
Kylin_on_Mac
2022-05-26 10:02:31 +08:00
parent 3eb14e009d
commit 458bf2fa46
5 changed files with 21 additions and 86 deletions

View File

@ -1,8 +1,9 @@
import sys
from os import path
sys.path.append(path.dirname(__file__))
from mlgame.utils.parse_config import read_json_file, parse_config
from .src.game import EasyGame
from mlgame.argument.tool import read_json_file, parse_config
from src.game import EasyGame
config_file = path.join(path.dirname(__file__), "game_config.json")
@ -15,6 +16,5 @@ GAME_PARAMS = parse_config(config_data)
GAME_SETUP = {
"game": EasyGame,
"ml_clients": EasyGame.ai_clients(),
# "dynamic_ml_clients":True
}