paia-hw3/game_config.json

54 lines
1.6 KiB
JSON

{
"game_name": "swimming-squid",
"version": " 1.0.8",
"url": "https://github.com/PAIA-Playful-AI-Arena/swimming-squid-battle",
"description": "這是一個魷魚吃東西小遊戲,你需要找到正確的食物、避開海中的垃圾,還要提防敵人的攻擊!(當然你也可以主動攻擊他人)",
"logo": [
"./asset/logo.png",
"https://raw.githubusercontent.com/PAIA-Playful-AI-Arena/swimming-squid-battle/main/asset/logo.png"
],
"user_num": {
"min": 2,
"max": 2
},
"game_params": [
{
"name": "level",
"verbose": "內建關卡編號",
"type": "int",
"min": -1,
"max": 100,
"default": 1,
"help": "選定內建關卡,請注意,使用此設定將會覆蓋掉其他關卡設定,預設為 -1 不選擇任何關卡。"
}, {
"name": "level_file",
"verbose": "匯入關卡檔案",
"type": "path",
"default": "",
"help": "可匯入自定義的關卡資料,請參考內建範例的資料格式來設定。使用此設定會覆蓋掉其他關卡設定,也不會使用關卡編號,也不會自動進入下一關。"
},
{
"name": "game_times",
"verbose": "對戰次數",
"type": "int",
"choices": [
1, 3, 5
],
"default": 1,
"help": "選擇要對戰幾次決勝負,可選擇一戰決勝負、三戰兩勝制、五戰三勝制。預設為一戰決勝負。"
},
{
"name": "sound",
"verbose": "遊戲音效",
"type": "str",
"choices": [
"on",
"off"
],
"help": "'on' can turn on the sound.",
"default": "on"
}
]
}