Skip to content

Rapid transit oriented, wordle-inspired daily guessing game.

License

Notifications You must be signed in to change notification settings

techtoto/ubahndle

Repository files navigation

Ubahndle

A Wordle-like rapid transit game.

ubahndle_light ubahndle_dark

Game

You are given 2 stations, guess the correct combination of lines needed to take the daily connection.

Cities

This repository hosts the code for different versions of Ubahndle for different cities.

They utilize shared code in the ubahndle-core directory.

Frankfurt

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.

Cologne

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.

Berlin

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.

Development

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.

Credits

Other Subwaydles