Merge branch 'release/2.3.4-alpha'
This commit is contained in:
commit
5c33fbe15d
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"game_name": "easy_game",
|
"game_name": "easy_game",
|
||||||
"version": "2.3.3-alpha",
|
"version": "2.3.4-alpha",
|
||||||
"url": "https://github.com/PAIA-Playful-AI-Arena/easy_game",
|
"url": "https://github.com/PAIA-Playful-AI-Arena/easy_game",
|
||||||
"description": "這是一個吃東西小遊戲,除了讓你熟習所有基本操作,也是 PAIA 的遊戲教學範例",
|
"description": "這是一個吃東西小遊戲,除了讓你熟習所有基本操作,也是 PAIA 的遊戲教學範例",
|
||||||
"logo": [
|
"logo": [
|
||||||
|
|
|
@ -62,7 +62,7 @@ class EasyGame(PaiaGame):
|
||||||
with open(os.path.join(LEVEL_PATH, "001.json")) as f:
|
with open(os.path.join(LEVEL_PATH, "001.json")) as f:
|
||||||
game_params = json.load(f)
|
game_params = json.load(f)
|
||||||
self._level = 1
|
self._level = 1
|
||||||
self._level_file = None
|
self._level_file = ""
|
||||||
finally:
|
finally:
|
||||||
# set game params
|
# set game params
|
||||||
self._playground_w = int(game_params["playground_size"][0])
|
self._playground_w = int(game_params["playground_size"][0])
|
||||||
|
|
Loading…
Reference in New Issue