generated from camunda-community-hub/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspacetraders-start.form
124 lines (124 loc) · 2.91 KB
/
spacetraders-start.form
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"executionPlatform": "Camunda Cloud",
"executionPlatformVersion": "8.3.0",
"exporter": {
"name": "Camunda Web Modeler",
"version": "93d428d"
},
"schemaVersion": 13,
"components": [
{
"text": "# SpaceTraders - Start",
"label": "Text view",
"type": "text",
"layout": {
"row": "Row_1n46dso",
"columns": null
},
"id": "Field_0kpjceg"
},
{
"values": [
{
"label": "Continue game",
"value": "continue-game"
},
{
"label": "New game",
"value": "new-game"
}
],
"label": "Choose to continue or start a new game",
"type": "select",
"layout": {
"row": "Row_1qo20qt",
"columns": null
},
"id": "Field_18giz7y",
"key": "operation",
"defaultValue": "continue-game"
},
{
"components": [
{
"text": "Continue a previous game by entering your game token. The token is created when starting a new game.",
"label": "Text view",
"type": "text",
"layout": {
"row": "Row_10l6cvf",
"columns": null
},
"id": "Field_07n6yd3"
},
{
"label": "Token",
"type": "textarea",
"layout": {
"row": "Row_101m968",
"columns": null
},
"id": "Field_0z12abc",
"key": "token",
"description": "Your game token.",
"validate": {
"required": true
}
}
],
"showOutline": true,
"label": "Continue game",
"type": "group",
"layout": {
"row": "Row_110t03v",
"columns": null
},
"id": "Field_1jhe7vt",
"conditional": {
"hide": "=operation != \"continue-game\""
}
},
{
"components": [
{
"text": "Start a new game by registering an agent. The agent is your alias in the game. ",
"label": "Text view",
"type": "text",
"layout": {
"row": "Row_0krv11g",
"columns": null
},
"id": "Field_1elsltt"
},
{
"label": "Agent symbol",
"type": "textfield",
"layout": {
"row": "Row_0kyq2zb",
"columns": null
},
"id": "Field_1i29y1m",
"key": "agent_name",
"description": "Your player alias. Must be unique. ",
"validate": {
"required": true,
"minLength": 3,
"maxLength": 14
}
}
],
"showOutline": true,
"label": "New game",
"type": "group",
"layout": {
"row": "Row_1arcorm",
"columns": null
},
"id": "Field_0gpakx3",
"conditional": {
"hide": "=operation != \"new-game\""
}
}
],
"type": "default",
"id": "space-traders-start"
}