-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlottery.json
99 lines (99 loc) · 2.33 KB
/
lottery.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
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
[
{
"name": "root",
"nodes": [
{
"uniq_id": "uniq_id_1",
"nexts": [
"uniq_id_3"
],
"type": "START",
"name": "Node",
"description": "",
"tool": "",
"true_next": null,
"false_next": null,
"ext": {
"pos_x": -181.31370708601534,
"pos_y": 385.51804586382025,
"width": 200,
"height": 200,
"info": ""
}
},
{
"uniq_id": "uniq_id_2",
"nexts": [],
"type": "CONDITION",
"name": "Check Prize",
"description": "check final buy number, \nif larger than 10, shows win, \notherwise, fail",
"tool": "",
"true_next": "uniq_id_4",
"false_next": "uniq_id_5",
"ext": {
"pos_x": 571.0197089529861,
"pos_y": 133.4824503701893,
"width": 326,
"height": 279,
"info": ""
}
},
{
"uniq_id": "uniq_id_3",
"nexts": [
"uniq_id_2"
],
"type": "STEP",
"name": "Buy lottery",
"description": "Buy a lottery ticket by a random numbe between 2 to twenty one. just give me a number",
"tool": "",
"true_next": null,
"false_next": null,
"ext": {
"pos_x": 112.40793320459551,
"pos_y": 316.60204533040013,
"width": 371,
"height": 289,
"info": ""
}
},
{
"uniq_id": "uniq_id_4",
"nexts": [],
"type": "STEP",
"name": "Node",
"description": "output: \"You Win! GO home\"",
"tool": "",
"true_next": null,
"false_next": null,
"ext": {
"pos_x": 916.417663622586,
"pos_y": -68.20692060512238,
"width": 306,
"height": 385,
"info": ""
}
},
{
"uniq_id": "uniq_id_5",
"nexts": [
"uniq_id_3"
],
"type": "STEP",
"name": "Node",
"description": "output:\" fail, buy again\"",
"tool": "",
"true_next": null,
"false_next": null,
"ext": {
"pos_x": 821.9160005334202,
"pos_y": 507.24020251989464,
"width": 200,
"height": 200,
"info": ""
}
}
],
"serial_number": 7
}
]