Spaces:
Runtime error
Runtime error
eaglelandsonce
commited on
Commit
•
05ed9de
1
Parent(s):
6f59340
Create grid.json
Browse files
grid.json
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"city": "Villageville",
|
3 |
+
"population": 498,
|
4 |
+
|
5 |
+
"size": {
|
6 |
+
"rows": 10,
|
7 |
+
"columns": 10
|
8 |
+
},
|
9 |
+
|
10 |
+
"buildings": [
|
11 |
+
{
|
12 |
+
"coords": [5,3],
|
13 |
+
"type": "town_hall",
|
14 |
+
"size": 2
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"coords": [2,7],
|
18 |
+
"type": "fire_station",
|
19 |
+
"size": 1
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"coords": [8,2],
|
23 |
+
"type": "police_station",
|
24 |
+
"size": 1
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"coords": [1,5],
|
28 |
+
"type": "school",
|
29 |
+
"size": 3
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"coords": [4,9],
|
33 |
+
"type": "park",
|
34 |
+
"size": 4
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"coords": [9,4],
|
38 |
+
"type": "hospital",
|
39 |
+
"size": 2
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"coords": [6,7],
|
43 |
+
"type": "hardware",
|
44 |
+
"size": 1
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"coords": [3,6],
|
48 |
+
"type": "church",
|
49 |
+
"size": 2
|
50 |
+
}
|
51 |
+
],
|
52 |
+
|
53 |
+
"landmarks": [
|
54 |
+
{
|
55 |
+
"coords": [0,9],
|
56 |
+
"type": "cemetary",
|
57 |
+
"size": 3
|
58 |
+
}
|
59 |
+
],
|
60 |
+
|
61 |
+
"stores": [
|
62 |
+
{
|
63 |
+
"coords": [3,2],
|
64 |
+
"type": "grocery"
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"coords": [7,8],
|
68 |
+
"type": "grocery"
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"coords": [4,6],
|
72 |
+
"type": "hardware"
|
73 |
+
}
|
74 |
+
],
|
75 |
+
|
76 |
+
"roads": [
|
77 |
+
{"start": [2,1], "end": [8,1]},
|
78 |
+
{"start": [1,3], "end": [4,3]},
|
79 |
+
{"start": [5,3], "end": [5,9]},
|
80 |
+
{"start": [8,2], "end": [8,9]},
|
81 |
+
{"start": [1,5], "end": [4,5]}
|
82 |
+
],
|
83 |
+
|
84 |
+
"blocks": [
|
85 |
+
{"buildings": [], "coords": [0,0]},
|
86 |
+
{
|
87 |
+
"buildings": [{"id": 0, "units": 20}],
|
88 |
+
"coords": [9,9]
|
89 |
+
}
|
90 |
+
]
|
91 |
+
}
|