refactor(ai)

This commit is contained in:
Kristofers Solo
2024-01-07 04:29:01 +02:00
parent c8859bc571
commit 77cd153b10
9 changed files with 82 additions and 41 deletions

View File

@@ -61,14 +61,13 @@ def main(args: argparse.ArgumentParser) -> None:
elif args.verbose:
CONFIG.log_level = "info"
# import ai
import ai
import game
if args.train is not None:
# ai.log.debug("Training the AI")
# # ai.train(*args.train)
ai.log.debug("Training the AI")
ai.train(*args.train)
# game.Menu(GameMode.AI_TRAINING).run()
pass
else:
game.log.debug("Running the game")
game.Main(GameMode.PLAYER).run()