From d3247523a3aacc4a6d519bfc196c529e3f09d50e Mon Sep 17 00:00:00 2001 From: Kylin_on_Mac Date: Thu, 19 Oct 2023 10:50:30 +0800 Subject: [PATCH 1/2] fix: level fail error --- src/game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game.py b/src/game.py index cad6cf0..69dbba3 100644 --- a/src/game.py +++ b/src/game.py @@ -62,7 +62,7 @@ class EasyGame(PaiaGame): with open(os.path.join(LEVEL_PATH, "001.json")) as f: game_params = json.load(f) self._level = 1 - self._level_file = None + self._level_file = "" finally: # set game params self._playground_w = int(game_params["playground_size"][0]) From d05a7b64b20f05fec74c6cd4ec33008fb00b7490 Mon Sep 17 00:00:00 2001 From: Kylin_on_Mac Date: Thu, 19 Oct 2023 10:51:07 +0800 Subject: [PATCH 2/2] doc:update version --- game_config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game_config.json b/game_config.json index 7f0214c..29e8c25 100644 --- a/game_config.json +++ b/game_config.json @@ -1,6 +1,6 @@ { "game_name": "easy_game", - "version": "2.3.3-alpha", + "version": "2.3.4-alpha", "url": "https://github.com/PAIA-Playful-AI-Arena/easy_game", "description": "這是一個吃東西小遊戲,除了讓你熟習所有基本操作,也是 PAIA 的遊戲教學範例", "logo": [