Skip to content

SightMe is a web application where multiple people can play a game in which the host hides somewhere in the city, and the participants have to find them by using only the rough distance to them. The distance is indicated using a blinking circle which will blink faster the closer you get to the target. Only available in the german language.

Notifications You must be signed in to change notification settings

Lennart401/sightme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SightMe Web Application

SightMe is a progressive web application where multiple people can play a game in which the host hides somewhere in the city, and the participants have to find him using only the rough distance to him. The distance is indicated using a blinking circle which will blink faster the closer you get to the target. It is only available in the german language.

The icon is the location_on icon from the material design icon library (Link) colored in the app's primary color.

How it works

Hosting a game

The host creates a new game and will generate a link based on his nickname and position. The link does contain all neccessary information about the game as a Base64-Encoded JSON object:

{
    "name": "Host name",
    "expiresAt": "<ISO-8601 Date>",
    "lat": 0.00,
    "lng": 0.00,
    "assist": {
        "tendency": true|false
        "dyndist": true|false,
        "nodist": true|false,
        "vbar": true|false,
    }
}

The link can be shared with all participants via third-party software.

Joining a game

When receiving a link from a game host, the user has to acknowledge to join the game "hosted by: ". Then, the active game will be set to that one, and the user will get an indication of how far away from the target he is. He can either leave the game himself or will be forced to leave 24 hours after the host created the game.

Limitations

Technically, a participant can extract the exact location of the host from link. The group has to rely on trust that nobody does this. The app will not be altered to take that issue into account, since any other realisation would require a server and would increase the complexity by an order of magintude.

Since the expiredAt game is also sent in the join-link, it can be altered and games older than 24-hours can be accessed. The 24-hour-limit may not be seen as a security feature but rather as a convenience-feature.

Special thanks to

  • My friend Chris, wo had the brilliant idea for this app
  • Github users rafgraph, mtlewis and yannbertrand for the great repository spa-github-pages, making this single page application possible with Github pages.

About

SightMe is a web application where multiple people can play a game in which the host hides somewhere in the city, and the participants have to find them by using only the rough distance to them. The distance is indicated using a blinking circle which will blink faster the closer you get to the target. Only available in the german language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published