From 906d7cd974929d1c2d5b2f9a07f8979defd3a7a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sat, 13 May 2023 23:25:04 +0200 Subject: [PATCH] adapt to database package. remove creating of files upon import --- greedy_solver.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/greedy_solver.py b/greedy_solver.py index 9af2a31..e5c4423 100755 --- a/greedy_solver.py +++ b/greedy_solver.py @@ -6,7 +6,7 @@ from time import sleep from hanabi import DeckCard, Action, ActionType, GameState, HanabiInstance from compress import link, decompress_deck -from database import conn +from database.database import conn class CardType(Enum): @@ -168,9 +168,9 @@ def test(): print(link(gs.to_json())) -wins = open("won_seeds.txt", "a") -losses = open("lost_seeds.txt", "a") -crits = open("crits_lost.txt", "a") +# wins = open("won_seeds.txt", "a") +# losses = open("lost_seeds.txt", "a") +# crits = open("crits_lost.txt", "a") def run_deck(seed, num_players, deck_str):