GirlsFromPanema / codeclassify

Guess various programming languages, on the cord
GNU General Public License v3.0
0 stars 0 forks source link

Score System #1

Open Scharxi opened 1 year ago

Scharxi commented 1 year ago

What do you think about a score system?

When the player starts a new game, he starts with a score of zero, for each correctly answered question the score expands by 1. If he guesses wrong, then the game ends and the score is output. The score and the user could be stored in a database and it could be possible to show the player a history of his past scores by command. You could also combine this with a global scoreboard.

vKxni commented 1 year ago

Sounds good, I feel like you mean a streak system right … so if I guess 20 codes in a row, I have/had a 20 streak. The current leaderboard kinda works the same, each guess = +1 point., should that be removed or should / can it stay? Maybe I could move it to a sub command group / leaderboard / streak leaderboard etc

Might think about this feature for later on, as the bot isn’t too much fun at the moment (due to less codes added for each language) - there are 5/language on the random mode and only one on the Discord version. A new idea there would be helpful enough 😅

Scharxi commented 1 year ago

I haven't had a deeply look at the code. I didn't know that this functionality partially already exists.