paia-hw3/game_config.json

62 lines
1.5 KiB
JSON

{
"game_name": "easy_game",
"version": "2.0.1-beta",
"url": "https://github.com/PAIA-Playful-AI-Arena/easy_game",
"description": "這是一個吃東西小遊戲,除了讓你熟習所有基本操作,也是 PAIA 的遊戲教學範例",
"logo": [
"./asset/logo.svg",
"https://raw.githubusercontent.com/PAIA-Playful-AI-Arena/Paia-Desktop/master/media/easygame.svg"
],
"player_num": {
"min": 1,"max": 1
},
"game_params": [
{
"name": "time_to_play",
"verbose": "遊戲總幀數",
"type": "int",
"max": 2000,
"min": 600,
"default": 600,
"help": "set the limit of frame count , actually time will be revised according to your FPS ."
},
{
"name": "total_point_count",
"verbose": "總食物數量",
"type": "int",
"choices":[ 5 ,10 ,15,20,25,30,35,40,45,50],
"help": "set the total number of points",
"default": 10
},
{
"name": "score",
"verbose": "通關分數",
"type": "int",
"min": 1,
"max": 30,
"default": 10,
"help": "set the score to win this game "
},
{
"name": "color",
"verbose": "矩形顏色",
"type": "str",
"choices": [
{
"verbose": "CYAN",
"value": "00BCD4"
},
{
"verbose": "YELLOW",
"value": "FFEB3B"
},
{
"verbose": "ORANGE",
"value": "FF9800"
}
],
"help": "set the color of rectangle",
"default": "00BCD4"
}
]
}