Skip to content

🎲🎲🗺️ Interactive web map that displays crowdsourced information about North American casino Craps tables.

License

Notifications You must be signed in to change notification settings

joshuaprince/minmap

Repository files navigation

Craps Table Minimum Map

🎲 See the map live here! 🎲

Map of table minimums for Craps at casinos in the United States. Data is scraped from /r/Craps' Spreadsheet of Minimums and plotted in Leaflet.js, overlain on OpenStreetMap.

US Craps Table Map Las Vegas Craps Table Map

Running Locally

  1. Install dependencies: Node.js >=18, Yarn v1
  2. git clone https://github.com/joshuaprince/minmap.git
  3. cd minmap && yarn install
  4. yarn dev

Configuration

The map is configured through environment variables. Copy .env.example to .env.local and make changes to configure the data source, link targets, etc. Documentation for environment variables is in .env.example.

Data Sources

The default configuration fetches map data from a static JSON file in this repository. To load map data from a Google Sheet, populate the following environment variables:

Environment Variable Source
SHEET_ID_MINS URL of a Google sheet. This should be the long string of characters after /d/ in the URL.
SHEETS_API_KEY Make an account on Google Cloud and generate an API key.

Contributing

Pull requests are welcome!

About

🎲🎲🗺️ Interactive web map that displays crowdsourced information about North American casino Craps tables.

Topics

Resources

License

Stars

Watchers

Forks