# Binghamton Better Bus HackBU 2024

See also: [My blog post on HackBU 2024](/posts/HackBU2024/)

## The what

Binghamton better bus in both of it's iterations is a web app to find a route from point to point in Binghamton using both the Broome County bus system as well as the OCCT bus system.

The HackBU iteration made use of the live maps available (at the time) to acquire the needed information about the bus systems.

In the 24 hour hackathon I was able to get a setup where I could input a start and endpoint and get a route which could be a layover at Binghamton University, the downtown bus terminal or in theory no layover with a single bus.
The one and only heuristic used was walking distance.

## What was learned

I learned some of the intricacies of the polyline algorithm and how the two bus live map APIs worked.

## Demo video

<iframe width="560" height="315" src="https://www.youtube.com/embed/5WcKPhMqveY?si=WcO_duuL1VxT0cFp" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
