Skip to content

Latest commit

 

History

History
63 lines (51 loc) · 1.92 KB

README.md

File metadata and controls

63 lines (51 loc) · 1.92 KB

Pathfinding

MIT License stars

ℹ️ Description

A visual implementation of Dijkstra and A*, side by side, written in golang with Ebitengine.

📸 Screenshots

⬇️ Install & run it

The project is compatible with Windows, Linux and macOS.

To use it, simply download the latest release binary file and execute it.

🐧 Linux & macOS

To make the downloaded binary executable, run:

chmod +x pathfinding_<rest of the file>

In newer versions of macOS, you might need to run xattr -c pathfinding_<rest of the filename> if you get an error message while opening the app.

Then, you can open it running:

./pathfinding_<rest of the file>

Compile

🪟 Windows

You can compile the app in Windows directly without a C compiler. Just run:

go mod tidy
go build -o pathfinding.exe

Add an icon (optional. Requires go-winres)

go-winres simply --icon assets/icons/greenFlag.png --manifest gui
go build -o pathfinding.exe -ldflags -H=windowsgui

🐧 Linux or macOS

Compiling an Ebitengine app in linux and macOS requires having a c compiler installed. Check ebitengine dependencies. Once done, simply run:

go mod tidy
go build -o pathfinding

⚖️ License

This project is open source under the terms of the MIT License


Made by keelus ✌️