Test your geo skills with Guess Where? app
1 minute read
A week ago I came across a geo quiz in the Telegraph. It shows 15 static, unmarked maps of well known capitals and asks you to name each one. I love maps and still only got 6 out of 15. I'm blaming it on playing straight after I woke up.
My first thought was that a live, interactive version would be great. My second was that I could build it. So I did: http://jabran.me/guess-where/. Give it a go.
How it's built
The app uses:
- Google Maps API for the maps
- JavaScript for the game logic and interactions
- jQuery for DOM manipulation
- Bootstrap for styling
- FontAwesome for icons
For development, deployment and maintenance I added:
- Git for version control
- GitHub for hosting and collaboration
- Sass to customise Bootstrap and write my own CSS
- Bower to manage frontend packages
- Grunt and npm for the build and deployment workflow
That's a long list for a one page app and probably overkill, but it's the setup I use by default for anything like this.
Contributing
The code is open source under the MIT license and on GitHub, so you can fork it, contribute or just read it. You'll need these installed:
- Node
- Sass
- Grunt
- Bower
Clone the repository with git clone https://github.com/jabranr/guess-where.git. Run grunt while developing and grunt build for a production build. If you send a fix or a feature, please don't include a production build. Open a pull request with just the development changes.
Happy guessing!