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.k.a. Subwaydle-Berlin)

A Berlin-based fork of the original Subwaydle game. Contains some source code lifted from the open-source clone by Hannah Park. Subwaydle is a static JavaScript app, written using Create React App with React, Sass, Semantic UI React and Mapbox. A few Ruby scripts were written to generate JSON data files used by the app.

Geolocation data © OpenStreetMap contributors.

Running locally

brew install yarn
yarn install
yarn start
  • To show the map that is displayed after finishing the puzzle: sign up for an account with Mapbox, get a token and add it to an .env file as REACT_APP_MAPBOX_TOKEN.

  • Ruby scripts in the scripts/ directory produce the JSON files in src/data that are used by the app. Warning: viewing the src/data can reveal spoilers to the puzzle! All guesses are checked against the keys in the solutions.json file to be a valid trip, and the answers.json contains an array for the answer of each day. The values of the solutions.json object contain an example trip of stations that are traveled through for the trip.

Forked from Subwaydle

Inspirations: