I have a problem that regarding with my projects. I need to create a bleuprint of an urban planning and I manage to print all the buildings that are required usning array. My problem right now is how I am going to print the roads. (<>^v, 1, -1, Road (-1 = no maximum, ^, v, <, >, indicates direction of road, <> or ^v, indicates this road is two way left right or up down, follow order <>^v))
Here the palnning:
C C ^ V S S
C C > >^ >v > >^v S S
C C < <^ <v < <^v S S C C
C C ^ v ^v S S C C
A A ^ V <>^v <> <> <>^v <> C C
A A ^ v ^v C C
A A ^ v ^v
A A ^ v <>^v <> C C
A A ^ v ^v C C
A A A > > > >^ >v > > H H >^v C C
A A A < < < <^ <v < < H H <^v C C
^ V ^v
^ V ^v
^ V ^v
^ V ^v
^ V ^v
Legend:
A – Airport
C – Condominiums
H – Hospital
S – School
U – University
<>^v - Road