It's a pathfinding visualizer. Uses pygame so install pygame and run with python3 main.py.
Each cell has a default weight of 2, mud adds 1, roads remove 1.
Choose a type of tile to place and click on the graph to place it. Right click to delete. Choose an algorithm on the left, hit space to start the algorithm. C to clear.