Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.38 KB

README.md

File metadata and controls

24 lines (16 loc) · 1.38 KB

Subwaydle

A Wordle-inspired NYC Subway daily puzzle 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.

See it live at https://www.subwaydle.com

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 respective 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.

Subway Route Symbols ® Metropolitan Transportation Authority. Used with permission.

Inspirations: