# Map Format

The map format is almost the same as it described in [Moving AI map repository](https://movingai.com/benchmarks/formats.html). 

All maps begin with the following lines:

```
type octile
height y
width x
map
```

, where y and x are the height and width for the map.

After those lines are the map data, which uses ASCII characters, the first character in the first line has the coordinate (0,0).

There are two different characters:
```
. : grid node
@ : out of bounds
```

There is an edge between two grid nodes if they are next to each other on the map.