Anonymous user
A* search algorithm: Difference between revisions
→{{header|Nim}}
Line 1,817:
func `$`(cell: Cell): string =
## Return the Unicode string to use for a cell.
if cell in Barriers: "██" else: (if cell in path: "
echo "████████████████████"
Line 1,856:
████████████████████
██
██ ·
██ · ·
██ ·
██ ·
██ ·
██ · ·
██ · · ·
████████████████████
|