forked from yen900611/racing_car
-
Notifications
You must be signed in to change notification settings - Fork 0
/
game_config.json
74 lines (74 loc) · 1.93 KB
/
game_config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"game_name": "racing_car",
"version": "4.0.3",
"url": "https://github.com/PAIA-Playful-AI-Arena/racing_car",
"description": "來一場競速的排位賽吧!駕駛著自己的車子享受在馬路上狂飆的快感吧!注意前方與左右來車來妨礙你,閃避其他車子的步步逼近,同時還要小心速度太慢被遠遠甩在後頭喔!關卡還有金幣競爭模式,在競速之餘盡可能的去搶奪路上散落的金幣,衝向終點成為最終贏家。",
"logo": [
"./asset/logo.png",
"https://raw.githubusercontent.com/PAIA-Playful-AI-Arena/racing_car/main/asset/logo.png"
],
"user_num": {
"min": 1,"max": 4
},
"game_params": [
{
"name": "game_type",
"verbose": "遊戲模式",
"type": "str",
"choices": [
{
"verbose": "NORMAL",
"value": "NORMAL"
},
{
"verbose": "COIN",
"value": "COIN"
},
{
"verbose": "RELIVE",
"value": "RELIVE"
}
],
"help": "choose the type of game",
"default": "NORMAL"
},
{
"name": "car_num",
"verbose": "車子總數量",
"type": "int",
"max": 40,
"min": 1,
"default": 20,
"help": "set the number of car, include user and computer cars."
},
{
"name": "racetrack_length",
"verbose": "終點距離",
"type": "int",
"max": 30000,
"min": 1000,
"default": 15000,
"help": "set the number of car, include user and computer cars."
},
{
"name": "rounds",
"verbose": "遊戲局數",
"type": "int",
"max": 30,
"min": 1,
"default": 1,
"help": "set times for restarting game."
},
{
"name": "sound",
"verbose": "遊戲音效",
"type": "str",
"choices": [
"on",
"off"
],
"help": "'on' can turn on the sound.",
"default": "off"
}
]
}