-
Notifications
You must be signed in to change notification settings - Fork 0
/
start.py
72 lines (72 loc) · 1.34 KB
/
start.py
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
import json
null = None
b = {"side": 0,
"background": [55,155,255],
"buttons":
{"join":
{"type": "default",
"dimensions": (255, 50),
"pos": (200, 300),
"text": "Join",
"text_color": [0, 0, 0],
"text_font": [null, 100]
},
"create":
{"type": "default",
"dimensions": (255, 50),
"pos": (200, 380),
"text": "Create",
"text_color": [0, 0, 0],
"text_font": [null, 100]
}
},
"text_boxes":
{"title":
{"dimensions": (300, 100),
"pos": (200, 100),
"text": "Challange Accepted",
"background": None,
"text_font": [r"data/fonts/font.tff", 100],
"text_color": [0, 0, 0]
}
},
"input_boxes":
{}
}
z = {"side": 1,
"background": [55,155,255],
"buttons":
"default", (255, 50), (555, 300), "Maze Runner", None, (0, 0, 0), (None, 100)
{"maze":
{"type": "default",
"dimensions": (255, 50),
"pos": (200, 300),
"text": "Join",
"text_color": [0, 0, 0],
"text_font": [null, 100]
},
"create":
{"type": "default",
"dimensions": (255, 50),
"pos": (200, 380),
"text": "Create",
"text_color": [0, 0, 0],
"text_font": [null, 100]
}
},
"text_boxes":
{"title":
{"dimensions": (300, 100),
"pos": (200, 100),
"text": "Challange Accepted",
"background": None,
"text_font": [r"data/fonts/font.tff", 100],
"text_color": [0, 0, 0]
}
},
"input_boxes":
{}
}
a = open("start.l", "w")
a.write(json.dumps(b))
a.close()