diff --git a/src/app.js b/src/app.js index 3760621..3c186c8 100644 --- a/src/app.js +++ b/src/app.js @@ -126,6 +126,11 @@ async function start() { res.render('scanner', { title: 'QR Scanner' }); }); + // About page + app.get('/about', (req, res) => { + res.render('about', { title: 'About Loot Hunt' }); + }); + // Home page app.get('/', (req, res) => { const { Hunts, Scans } = require('./models'); diff --git a/src/views/about.ejs b/src/views/about.ejs new file mode 100644 index 0000000..26bed2c --- /dev/null +++ b/src/views/about.ejs @@ -0,0 +1,83 @@ +<%- include('partials/header') %> + +
+

About Loot Hunt

+ +
+

What is Loot Hunt?

+

Loot Hunt is a digital treasure hunt game. Organizers hide QR codes in the real world and players scan them to earn points. Think geocaching, but entirely digital — no swapping trinkets, just bragging rights and leaderboard glory.

+

Each QR code is called a package, and packages are grouped into hunts. A hunt might be a set of codes hidden around a neighborhood, an event venue, a campus — anywhere, really.

+
+ +
+

Scoring

+

Points are awarded based on how early you find a package:

+
+
+
500
+
1st Find
+
+
+
250
+
2nd Find
+
+
+
100
+
3rd Find
+
+
+
50
+
4th+ Finds
+
+
+

Being first matters! Race to discover new packages before anyone else to maximize your score.

+
+ +
+

How to Play

+
    +
  1. Create an account — pick a username and you're in.
  2. +
  3. Find a QR code — look for Loot Hunt stickers, cards, or signs in the wild.
  4. +
  5. Scan it — use our built-in QR scanner or any camera app. The built-in scanner verifies the code is a legit Loot Hunt link.
  6. +
  7. Claim your points — log in (or sign up) and the points are yours.
  8. +
  9. Climb the leaderboard — check the global leaderboard or per-hunt rankings.
  10. +
+
+ +
+

Features & Quirks

+ +
+ +
+

For Organizers

+

Want to create your own hunt? Ask an admin to grant you the Organizer role. Once you have it, you can:

+ +
+ +
+

Get in Touch

+

Have questions, ideas, or found a bug? Reach out!

+
+ 🐘 Mastodon + 📦 Source Code +
+

Loot Hunt is open source. Contributions, bug reports, and forks are welcome!

+
+
+ +<%- include('partials/footer') %> diff --git a/src/views/home.ejs b/src/views/home.ejs index 4713d07..0da3d35 100644 --- a/src/views/home.ejs +++ b/src/views/home.ejs @@ -7,6 +7,7 @@
Browse Hunts Leaderboard + Learn More <% if (!currentUser) { %> Login <% } %>