Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Leaderboard and rankings? #36

Open
TheOnlyDGS opened this issue Mar 28, 2022 · 1 comment
Open

Leaderboard and rankings? #36

TheOnlyDGS opened this issue Mar 28, 2022 · 1 comment

Comments

@TheOnlyDGS
Copy link

Hey there, awesome project. I have a few questions below:

  1. Can the treasure hunt event have a time period? Example: On 23 Mar 2023 between 9am to 5pm.

  2. Can the participants have different start times within the event time period? For example, Team A starts at 10am and Team B starts at 3pm.

  3. Is there a leaderboard which shows which team finished first based on the time taken to complete the treasure hunt? For example, Team B which starts at 3pm completes it in 1 hour and Team A which starts at 10am completes it in 2 hours which means Team B is higher than Team A.

Thank you so much and I look forward to your replies.

@LorenzCK
Copy link
Member

LorenzCK commented Apr 8, 2022

Hello @TheOnlyDGS, thanks!

Can the treasure hunt event have a time period? Example: On 23 Mar 2023 between 9am to 5pm.

Not at the moment, the treasure hunt at the moment always starts as soon as the group scans in the first QR Code. There can be a fixed ending however: each game has a "timeout" value that indicates when the game ends. The value must be set manually in the database, unfortunately. When a group continues to play after the timeout, the game will directly go to the last location of the game.

Can the participants have different start times within the event time period? For example, Team A starts at 10am and Team B starts at 3pm.

Yes, each group of participants can start whenever they want, at the moment. As soon as they scan the first QR Code, the game starts for the group. There is no synchronization between starting groups.

Is there a leaderboard which shows which team finished first based on the time taken to complete the treasure hunt? For example, Team B which starts at 3pm completes it in 1 hour and Team A which starts at 10am completes it in 2 hours which means Team B is higher than Team A.

There is a leaderboard, which can be required by the game administrator through the bot. First you must switch to the game using the /mygames command and picking the game with the 👑 icon. This will enable administration commands over the selected game. At that point, you'll have access to the following commands:

  • /overview: gives an overview of player teams and what they are doing,
  • /leaderboard: provides a leaderboard of teams in the order of completion of the game,
  • /info (GROUP_ID): provides more information about a single group of players (i.e., the riddle they are solving and so on).

Unfortunately, the leaderboard is absolute, so it is not aligned to when the single groups ended the game. If a group plays at 11:00 and completes the game at 12:00, it will always show up before another group that started at 13:00 and completed at 13:30, even if the second group performed ‘better’ than the first.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants