You are given 2 stations, guess the correct combination of lines needed to take the daily connection.
This repository hosts the code for different versions of Ubahndle for different cities.
They utilize shared code in the ubahndle-core directory.
The code for the Frankfurt am Main version lives in the frankfurt directory. All S and U lines are available in this version.
It's available to play at https://frankfurt.ubahndle.techtoto.dev.
The code for the Cologne version lives in the cologne directory. Only tram lines are available in this version.
It's available to play at https://stadtbahndle-cologne.marie.cologne.
The code for the Berlin version lives in the berlin directory. It's based on Hnagzhi's fork, but also incorporates newer changes from the London fork.
It's available to play at https://berlin.ubahndle.techtoto.dev.
This repository utilizes pnpm for managing multiple projects in a monorepo.
Install dependencies using pnpm:
pnpm install --frozen-lockfile
To run a single city project in development mode use the following command:
pnpm --filter <subproject name in package.json> dev
# Frankfurt
pnpm --filter @ubahndle/frankfurt dev
# Cologne
pnpm --filter @ubahndle/cologne dev
# Berlin
pnpm --filter @ubahndle/berlin dev
To run all projects at the same time, omit the filter argument:
pnpm -r dev
Run pnpm -r build
to create a production build for all projects.
Use pnpm -r check-types
to run typechecking over all projects.
- OpenStreetMap
- Versatiles for providing map tiles
- KVB for their Open Data Service