osscameroon / project-ideas

A list of project ideas
23 stars 2 forks source link

Simple quiz bot with leaderboard #51

Open pythonbrad opened 3 months ago

pythonbrad commented 3 months ago

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

Complexity

Required time

Categories

github-actions[bot] commented 3 months ago

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.

HanslettTheDev commented 3 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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

The remaining part will be to handle the leaderboard.

pythonbrad commented 2 months ago

@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 commented 2 months ago

Hello. Is it an android or IOS platform?

pythonbrad commented 2 months ago

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 commented 2 months ago

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