Skip to content

codeforgermany/click_that_hood

Repository files navigation

Click That 'Hood

logo

Give it a go

Clone this repository onto your local development machine:

  • git clone https://github.com/codeforgermany/click_that_hood.git
  • cd click_that_hood

Install dependencies:

  • npm i

Build the data.js file:

  • npm run build

The resulting site is entirely static and can be served with any HTTP server you like. The server that is built into Python is a good way to get started.

  • cd public
  • python -m http.server 8020

Open it in a browser: http://localhost:8020

Traditionally the demo server has run on port 8020, but you can use any port you want. You may need to use 'python3' instead of 'python', depending on your local setup.

Development

Before you commit code, run:

  • npm run format

If you commit data, format it with:

  • NODE_OPTIONS=--max_old_space_size=8192 npx prettier --write public/data/{file}.geojson

About

A game where users must identify a city's neighborhoods as fast as possible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published