Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Simple quiz bot with leaderboard #51

Open
4 of 21 tasks
pythonbrad opened this issue Aug 15, 2024 · 9 comments
Open
4 of 21 tasks

Simple quiz bot with leaderboard #51

pythonbrad opened this issue Aug 15, 2024 · 9 comments

Comments

@pythonbrad
Copy link
Member

pythonbrad commented Aug 15, 2024

Introduction

Build a simple bot with leaderboard feature.

Description

The objective is to motivate the member of the OSS Cameroon group to participate to quizzes send by the quiz bot. To achieve it, we should build a simple quiz bot, who keep the anonymity of a participant, and can show a leaderboard at the end of each quiz session.

Relevant Technology

  • HTML
  • CSS
  • JavaScript
  • Telegram mini app

Complexity

  • Beginner - This project requires no or little prior knowledge of the technolog(y|ies) specified to contribute to the project
  • Intermediate - The user should have some prior knowledge of the technolog(y|ies) to the point where they know how to use it, but not necessarily all the nooks and crannies of the technology
  • Advanced - The project requires the user to have a good understanding of all components of the project to contribute

Required time

  • Little work - A couple of days
  • Medium work - A week or two
  • Much work - The project will take more than a couple of weeks and serious planning is required

Categories

  • Mobile app
  • IoT
  • Web app
  • Frontend/UI
  • AI/ML
  • APIs/Backend
  • Voice Assistant
  • Developer Tooling
  • Extension/Plugin/Add-On
  • Design/UX
  • AR/VR
  • Bots
  • Security
  • Blockchain
  • Futuristic Tech/Something Unique
Copy link

It's great having you contribute to this project

Welcome to the community 🤓, we will carefully review your project idea and get back to you.

If you would like to follow our community's work you should join us on our Telegram chat group and Channel, we help and encourage each other to contribute to open source.
You can also support us financially here to help us build Cameroon one open source at a time.

@HanslettTheDev
Copy link

Keeping the poll anonymous and yet having a leaderboard? The reason anonymous polls exist is to hide who clicked the post.
Meaning if we intend to use rather the telegram mini app, we are kind of adding extra work.

  1. Making the mini app
  2. Grabbing data from the mini app and the OSS bot periodically sends the leaderboard back to the group

@pythonbrad
Copy link
Member Author

pythonbrad commented Aug 22, 2024

For the moment, we can neglect this anonymous part and see how the community will react from it.
Then, we can continue to use the standard telegram poll API.

Reason: It's better to have a solution who can work on GitHub action.

@pythonbrad
Copy link
Member Author

pythonbrad commented Aug 22, 2024

Now, how the project could look like?

  1. The quiz will be non anonymize.
  2. A GitHub action will be trigger daily to analyze, the quiz responses.
  3. A GitHub action will be trigger weekly to send quiz results.

@pythonbrad
Copy link
Member Author

pythonbrad commented Aug 23, 2024

@HanslettTheDev, what do you think about reuse the current report_quiz GitHub action?

The remaining part will be to handle the leaderboard.

@pythonbrad
Copy link
Member Author

pythonbrad commented Aug 24, 2024

@elhmn , @HanslettTheDev , @Sanix-Darker
What do you think about the message that the bot can use ?

To announce a new quiz competition

OSSCameroon Quiz Competition, Round 2: Submissions

QuizBot is now ready to accept submissions for the OSSCameroon Quiz Competition, Round .

Q: How to participate
A: QuizBot will send quizzes daily, you should check frequently the messages in the OSS Cameroun telegram group.

To publish the Quiz Competition results

🏆 OSSCameroon Quiz Competition, Round 2: Results

We are pleased to announce that 14 of the 62 total contestants in this round have been nominated for prize places. Gorok, who boasts the best total score, has been promoted to 🥇1st PLACE and secured a 15,000 yotas!

The Final Score for each submission was calculated based on their total correct quizzes.

Submissions that scored less than 10 quizzes were discarded, and given a Final Score of zero.

Meet the winners!

1st PLACE – 15,000 yotas
🥇 Gorok

2nd PLACE – 4,500 yotas
🥈 Tonix
🥈 Rusty

3rd PLACE – 2,000 yotas
🥉 Swift
🥉 Fan
🥉 Daring
🥉 Meryl

4th PLACE – 1000 yotas
🎖️ Kangaroo
🎖️ Bamboo
🎖️ Elephant
🎖️ CC
🎖️ JSRock

Congratulations, and thank you to all who participated!

For further details, you can ask help in the OSS Cameroun telegram group.

@JoyRyane
Copy link

Hello. Is it an android or IOS platform?

@pythonbrad
Copy link
Member Author

pythonbrad commented Aug 26, 2024

Hello. Is it an android or IOS platform?

@JoyRyane
Actually, instead of rebuild another project, we decided to update the current quiz bot to add the leaderboard.

@JoyRyane
Copy link

I wish to join the team. But I haven't found the code for the quiz bot

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants