Make a "Where Is X (Country / City / Point of Interest) On The Map?" game.
- Figure out the place you want to guess.
- Create the KML file(s) for the place, add them to repo.
- Create the database record for the place -- www/newgame.bash streamlines this process, and should be run from the command line of the server you're running this on.
- Create the markup for the particular mapgame. Here's one example of this
- Upload the markup to production (example), then iframe it into an article (example).
- Check out this repo.
git clone [email protected]:denverpost/mapgame.git
- Symlink the repo's www directory into an active webserver on your computer.
- To start on testing the backend, take a look at the sql in www/admin/tables.sql
The MIT License (MIT)
Copyright ยฉ 2015-2017 The Denver Post
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.