From bf5ed6b559988cb6035bb1285ea526e0503a7cb9 Mon Sep 17 00:00:00 2001 From: kulisak12 Date: Fri, 23 Sep 2022 11:56:12 +0200 Subject: [PATCH] =?UTF-8?q?Strategick=C3=A1:=20P=C5=99ejmenov=C3=A1n=C3=AD?= =?UTF-8?q?=20na=20strategy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- klient/client.py | 2 +- klient/{client.cpp => strategy.cpp} | 0 klient/{play.py => strategy.py} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename klient/{client.cpp => strategy.cpp} (100%) rename klient/{play.py => strategy.py} (100%) diff --git a/klient/client.py b/klient/client.py index 20dc3dc..12016e8 100755 --- a/klient/client.py +++ b/klient/client.py @@ -17,7 +17,7 @@ parser.add_argument("--token", type=str, required=True, help="API token.") parser.add_argument("--server", type=str, default="http://localhost:5000", help="Adresa severu.") parser.add_argument("--game", type=str, default="main", help="'main' nebo 'test_#'.") parser.add_argument("--command", type=str, nargs="+", default=["python3", "%"], help="Příkaz pro spuštění strategie. '%' bude nahrazeno programem.") -parser.add_argument("--program", type=str, default="play.py", help="Program, který má být použít v příkazu.") +parser.add_argument("--program", type=str, default="strategy.py", help="Program, který má být použít v příkazu.") parser.add_argument("--copy", default=False, action="store_true", help="Vyrob kopii souboru, aby se vždy použil stejný kód.") parser.add_argument("--log-level", type=str, default="info", choices=["error", "warning", "info"]) parser.add_argument("--save-state", type=str, default=None, help="Pouze ulož herní info do souboru.") diff --git a/klient/client.cpp b/klient/strategy.cpp similarity index 100% rename from klient/client.cpp rename to klient/strategy.cpp diff --git a/klient/play.py b/klient/strategy.py similarity index 100% rename from klient/play.py rename to klient/strategy.py