41 lines
2.0 KiB
JSON
41 lines
2.0 KiB
JSON
{"INIT_INFO": [
|
|
["ai_name", "name of ai", "AI編號"]
|
|
],
|
|
"GAME_STATUS": [
|
|
["GAME_ALIVE", "alive", "存活"],
|
|
["GAME_PASS", "pass", "通關"],
|
|
["GAME_OVER", "over", "失敗"]
|
|
],
|
|
"SCENE_INFO": [
|
|
["scene_info['frame']", "# frame", "# 幀數"],
|
|
["scene_info['status']", "game status", "遊戲狀態"],
|
|
["scene_info['collision_mode]", "game mode", "是否有碰撞機制"],
|
|
["scene_info['self_x']", "x coordinate of squid", "玩家角色的中心 x 座標"],
|
|
["scene_info['self_y']", "y coordinate of squid", "玩家角色的中心 y 座標"],
|
|
["scene_info['self_w']", "width of squid", "玩家角色的寬度"],
|
|
["scene_info['self_h']", "height of squid", "玩家角色的高度"],
|
|
["scene_info['self_lv']", "level of squid", "玩家角色的等級"],
|
|
["scene_info['self_vel']", "velocity of squid", "玩家角色的速度"],
|
|
["scene_info['opponent_x']", "x coordinate of opponent squid", "對手角色的中心 x 座標"],
|
|
["scene_info['opponent_y']", "y coordinate of opponent squid", "對手角色的中心 y 座標"],
|
|
["scene_info['opponent_lv']", "level of opponent squid", "對手角色的等級"],
|
|
["scene_info['score']", "score", "目前的分數"],
|
|
["scene_info['foods']", "list of foods positions", "所有食物的位置清單"],
|
|
["scene_info['score_to_pass']", "the score for next level", "通關分數"],
|
|
["scene_info", "dictionary of all information", "包含所有資訊的字典"]
|
|
],
|
|
"CONSTANT": [
|
|
|
|
[30, "food lv1 size", "等級一食物的寬高度"],
|
|
[40, "food lv2 size", "等級二食物的高度"],
|
|
[50, "food lv3 size", "等級三食物的高度"]
|
|
],
|
|
"ACTION": [
|
|
["['UP']", "moving up", "向上移動"],
|
|
["['DOWN']", "moving down", "向下移動"],
|
|
["['LEFT']", "moving left", "向左移動"],
|
|
["['RIGHT']", "moving right", "向右移動"],
|
|
["['NONE']", "doing nothing", "不動作"]
|
|
|
|
]
|
|
} |