project-ideas icon indicating copy to clipboard operation
project-ideas copied to clipboard

Simple quiz bot with leaderboard

Open pythonbrad opened this issue 1 year ago • 9 comments

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

  • [X] 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

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

Categories

  • [X] 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

pythonbrad avatar Aug 15 '24 13:08 pythonbrad

It's great having you contribute to this project

Welcome to the community :nerd_face:, 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.

github-actions[bot] avatar Aug 15 '24 13:08 github-actions[bot]

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

HanslettTheDev avatar Aug 16 '24 05:08 HanslettTheDev

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 avatar Aug 22 '24 16:08 pythonbrad

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 avatar Aug 22 '24 16:08 pythonbrad

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

The remaining part will be to handle the leaderboard.

pythonbrad avatar Aug 23 '24 17:08 pythonbrad

@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.

pythonbrad avatar Aug 24 '24 10:08 pythonbrad

Hello. Is it an android or IOS platform?

JoyRyane avatar Aug 26 '24 18:08 JoyRyane

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.

pythonbrad avatar Aug 26 '24 18:08 pythonbrad

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

JoyRyane avatar Aug 26 '24 19:08 JoyRyane