Skip to content

ScottyLabs/oquest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Find the station minigame for orientation.

Many improvements from last year's O-Quest in order to prevent cheating :)

Stations display pre-generated QR Codes mapped to a rough timespan, flashing a new one every ~10 seconds. When codes are scanned by the mobile app, server side verifies authenticity and disables that code from being redeemed. Location verification also doen through app, minimizing power consumption on stations.

[For now] Station Parts List:

DB Schema in Discussion - PostgreSQL

user-side

users ( id bigint generated always as identity primary key, display_name text, avatar_url text, created_at timestamptz not null default now(), updated_at timestamptz not null default now() )

user_dorm_memberships ( id bigint generated always as identity primary key, user_id bigint not null references users(id), dorm_id bigint not null references dorms(id), starts_at timestamptz not null, ends_at timestamptz, check (ends_at is null or ends_at > starts_at) )

fy_dorms( id smallint generated always as identity primary key, name text not null unique )

user_identities ( id bigint generated always as identity primary key, user_id bigint not null references users(id), provider text not null, -- e.g. 'cmu_shibboleth' external_subject text not null, -- ePPN, trusted value from provider unique (provider, external_subject), unique (user_id, provider) )

game/station side

About

Find the station minigame for orientation

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT.md

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors