{"id":17218467,"url":"https://github.com/perliedman/find-the-spot","last_synced_at":"2025-03-25T14:25:31.582Z","repository":{"id":145270090,"uuid":"100131960","full_name":"perliedman/find-the-spot","owner":"perliedman","description":"Simplistic location based game to find to a location using simulated radio location.","archived":false,"fork":false,"pushed_at":"2017-08-14T09:35:54.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-30T13:15:31.969Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://birthday.liedman.net/2017/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/perliedman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-12T18:54:22.000Z","updated_at":"2017-08-14T09:37:30.000Z","dependencies_parsed_at":"2023-07-21T00:34:17.989Z","dependency_job_id":null,"html_url":"https://github.com/perliedman/find-the-spot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perliedman%2Ffind-the-spot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perliedman%2Ffind-the-spot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perliedman%2Ffind-the-spot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perliedman%2Ffind-the-spot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perliedman","download_url":"https://codeload.github.com/perliedman/find-the-spot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245478684,"owners_count":20622020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T03:46:53.943Z","updated_at":"2025-03-25T14:25:31.554Z","avatar_url":"https://github.com/perliedman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Find the Spot\n\nSimplistic location based game to find to a location using simulated radio location.\n\nI made this as a part of a treasure hunt for my kid's birthday party. It's not fancy, it's not advanced, but the kids enjoyed it, and it's also a fun example of geolocation, WebGL and Web Audio working together.\n\nYou can try out the [live demo](https://birthday.liedman.net/2017/) that we used at the party.\n\n## Running\n\nClone this repo, then install dependencies:\n\n```shell\nnpm install\n```\n\nTo run locally / develop:\n\n```shell\nnpm start\n```\n\nThen go to `http://localhost:8080/`.\n\n\nTo build the site to deploy somewhere:\n\n```shell\nnpm run build\n```\n\nPlease note that you have to deploy on a host with `https` if you plan on running this from Chrome (otherwise geolocation will not work); [Let's encrypt](https://letsencrypt.org/) is a great way to add this for free.\n\n## Playing\n\nThe app plays a tone and pulses a light on the screen depending on your distance to the target location. The tone's frequency becomes higher the close you are to your target, as well as the light pulsating faster when close.\n\nThe target location is stored in your browser's local storage, so the target is set per client, not centralized.\n\nTo place the target coordinate, enter the \"admin mode\" by tapping the screen _quickly_ (less than a half second) four times: you will see a map with a marker that denotes the target location. Drag the marker to the target you like. Your own location is marked by a small, blue circle in the map.\n\nExit admin mode by quickly tapping the screen four times again.\n\n## Code\n\nYeah, sorry about the code :) As already mentioned, this isn't fancy, and I made this as a \"one-off\" example, so the code is far from clean.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperliedman%2Ffind-the-spot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperliedman%2Ffind-the-spot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperliedman%2Ffind-the-spot/lists"}