Grid walls

 from Red Blob Games

For most of my pathfinding demos I use grids where walls are represented as tiles. A nice alternative is to make walls into edges.