@@ -44,10 +44,11 @@
const timerElement = document.querySelector('#timer');
const timer = () => {
let seconds, minutes, hours, days;
- const timeLeftInSeconds = Math.floor((new Date('2023-09-03T14:20:00+0530').getTime() - new Date().getTime()) / 1000);
+ // const timeLeftInSeconds = Math.floor((new Date('2024-03-17T15:00:00+0530').getTime() - new Date().getTime()) / 1000);
+ const timeLeftInSeconds = -1;
if (timeLeftInSeconds <= 0) {
timerElement.innerHTML = `
`;
return false;
}
diff --git a/templates/live/interface.njk b/templates/live/interface.njk
index c56ca24..21a7690 100644
--- a/templates/live/interface.njk
+++ b/templates/live/interface.njk
@@ -661,7 +661,7 @@
}, 2000);
}
else if ( state === 'riddle-question' ) {
- endOfTimeout = new Date(Date.now() + 120 * 1000);
+ endOfTimeout = new Date(Date.now() + 125 * 1000);
const riddleButton = document.getElementById('riddle-submit-button');
riddleButton.disabled = true;
const messageBox = document.getElementById("message-box");
From 2a6dba0d7062693ccfe97a5ea040f5e68d8e111a Mon Sep 17 00:00:00 2001
From: Ankan <93087057+ItsAnkan@users.noreply.github.com>
Date: Fri, 15 Mar 2024 00:31:26 +0530
Subject: [PATCH 12/14] oopsie.... tehee~~
---
database/Schemas/Location.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/database/Schemas/Location.js b/database/Schemas/Location.js
index 1dd3f1b..7c6ee04 100644
--- a/database/Schemas/Location.js
+++ b/database/Schemas/Location.js
@@ -1,7 +1,7 @@
const mongoose = require('mongoose');
const locationSchema = new mongoose.Schema({
- _id: { type: String, required: true },
+ _id: { type: Number, required: true },
name: { type: String, required: true },
pointerQuestion: [{ type: String, required: true }],
code: { type: String, required: true },
From 0cf9f8b2f806c74be3da5ebc5420e07c47538585 Mon Sep 17 00:00:00 2001
From: Goose-Win11 <64352864+Goose-Of-War@users.noreply.github.com>
Date: Fri, 15 Mar 2024 10:18:41 +0530
Subject: [PATCH 13/14] The commit history scares me...
---
templates/info/instructions.njk | 34 ++++++++++++++++++++++-----------
templates/info/landing.njk | 13 ++++++++-----
2 files changed, 31 insertions(+), 16 deletions(-)
diff --git a/templates/info/instructions.njk b/templates/info/instructions.njk
index 7f40276..2808945 100644
--- a/templates/info/instructions.njk
+++ b/templates/info/instructions.njk
@@ -1,25 +1,37 @@
{% extends '_base.njk' %}
-{% set pagetitle = 'Information' %}
-{% set thispage = 'information' %}
+{% set pagetitle = 'Instructions' %}
+{% set thispage = 'instructions' %}
{% block pagecontent %}
Event Information
- Date/Time: March 17, 2024, 3:00 PM
- - Venue: Technology Students Gymkhana (Front Side)
-
- - You must report at TSG before starting; you won’t be given extra time if you are late.
- - You are allowed to use a cycle, but no motor vehicle is permitted.
- - At the event’s start, you will be given an ID and password to login to the event portal.
+ - Venue: Technology Students' Gymkhana (Front Side)
+
+
+
Instructions
+
+
+ - You are requested to report to TSG on time. No extra time will be given for people who join in late.
+ - You are allowed to use a bicycle, but motor vehicles are not permitted.
+ - At the event's start, you will be given a Team ID and passcode to login to the event portal.
- After logging in, you will see your first question, a riddle pointed towards a particular location, which will differ for each team.
- - At the location in question, some MASK members will be present; you will give your device to them, and they will put the code for that location in it. If you are at the correct location, you will get a riddle to answer; if you are at the wrong location, you will have to think again and go to another location.
+ -
+ At the location in question, some MASK members will be present. You will give your device to them, and they will put the code for that location in it.
+ If you are at the correct location, you will get a riddle to answer; if you are at the wrong location, you will have to think again and go to another location.
+
- For these riddles, you will get a drop-down menu which will contain all the options.
- - While answering the riddle, if you answer incorrectly, you will have to wait two minutes to respond again. Keep in mind this is not the case for the location-based riddle.
- - There will be a MASK member roaming around the area of these locations. You will be eligible for additional prizes if you capture a clear picture of that member. To claim it, DM your team name and the photo to Soumil (8697563554). Only the first three teams to claim are eligible for this prize.
+ - While answering the riddle, if you answer incorrectly, you will have to wait two minutes before you can respond again.
Note: this is not the case for the location-based riddle.
+ -
+ You are allowed to use the Internet and online resources like Google, ChatGPT, etc.
+
+ Bonus: There will be a MASK member roaming around the area of these locations. You will be eligible for additional prizes if you capture a clear picture of that member. To claim it, DM your team name and the photo to Soumil (8697563554). Only the first three teams to claim are eligible for this prize.
+
+
- After you complete the hunt, you have to report back to TSG; only then will you be marked as ‘finished’.
- - If any team is found not following the rules, they will be immediately disqualified.
+ - Note: If you are found to have violated any rules, you can be subject to disqualification.
In case of any doubt, feel free to contact Aman
(63773 08533) and Soumil
(86975 63554)
diff --git a/templates/info/landing.njk b/templates/info/landing.njk
index 6faf5bb..dcf20b0 100644
--- a/templates/info/landing.njk
+++ b/templates/info/landing.njk
@@ -21,13 +21,16 @@
Konnichiwa, minna-san!!!
-
We, MASK, have returned with an Open Campus Quiz for everyone in IIT Kharagpur, from UG students to PG students (and even professors if interested). For the freshers, this will be an introductory event and for the all of our beloved patrons, this will be an experience you wouldn't want to miss.
+
It's about time we came back with an event. Well, here we are. We welcome you to the second edition of the Anime Seekers' Quest, a treasure hunt event across the span of 2.2, just for you guys.
+
What can you expect?
-
Showcasing various aspects of our society, this event has a lot of things packed, be it the mind-boggling quiz, specially-curated prizes or the various surprises packed just for you.
+
Starting from our very own TSG, you will have to make your way through 2.2 using the clues given to you to search for our MASK members and solve a riddle. Those who finish all the riddles given to them shall return to TSG and redeem their prizes.
+
For more information, check out the Instructions page.
+
What are the questions from?
The questions are from a variety of popular anime, be it the never-ending One Piece or rom-coms like Oregairu, good ol' Death Note or popular new anime like Demon Slayer, Jujutsu Kaisen or Oshi No Ko. We have a vast collection which satisfies all kinds of fans. (Except maybe Samuel L. Jackson. I don't think we can give him what he wants.)
-
For more info, check out the Instructions page. Stay tuned for more updates.
-
Limited Seats Only! Register Soon!!!
+
+
Don your straw hats and set out to find your treasure.