Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Implement leaderboard model/entity and functions #28

Closed
coxmars opened this issue Sep 5, 2024 · 9 comments · Fixed by #100 · May be fixed by #39
Closed

Implement leaderboard model/entity and functions #28

coxmars opened this issue Sep 5, 2024 · 9 comments · Fixed by #100 · May be fixed by #39
Assignees
Labels
external-contributor Available for external contributors good first issue Good for newcomers ODHack10

Comments

@coxmars
Copy link
Contributor

coxmars commented Sep 5, 2024

Implement a leaderboard model that tracks and ranks players based on their achievements, battle wins, and other key performance metrics.

  • You can use this PR as reference feat: add first leaderboard model implementation with tests #39 consider that here we are using static elements, but use this library https://github.com/keep-starknet-strange/alexandria to do it dinamically and be sure it is working.
  • Please create a new PR, include the model/entity and the functions needed for this flow like get rank player by id, a list of 10 top players etc etc you can consider the implementation of the last PR as examples and you can add more if you think is useful.
  • Follow the Contributions Guidelines and PR guidelines/example etc.
  • If you need help just ask me here in a comment or ping me in Telegram in the group channel for external contributors.

Thanks for your time, please send a comment with your approach/solution, be creative and use a technical explanation and avoid ChatGPT or AI comments.

@coxmars coxmars added the good first issue Good for newcomers label Sep 5, 2024
@coxmars coxmars moved this to TODO in ByteBeasts - Backlog Sep 5, 2024
@coxmars coxmars self-assigned this Sep 5, 2024
@danielcdz danielcdz removed the good first issue Good for newcomers label Sep 20, 2024
@coxmars coxmars changed the title Implement leaderboard model Implement leaderboard model/entity and functions Nov 19, 2024
@coxmars coxmars added good first issue Good for newcomers external-contributor Available for external contributors ODHack10 and removed on HOLD labels Nov 19, 2024
@coxmars coxmars removed their assignment Nov 21, 2024
@stevencartavia
Copy link

hello, I would love to work on this!

I've worked on gaming, I have contributions in Cairo.

@coxmars
Copy link
Contributor Author

coxmars commented Nov 21, 2024

hello, I would love to work on this!

I've worked on gaming, I have contributions in Cairo.

Go to work @stevencartavia 😎

@chigozzdevv
Copy link

Hello, please can I take up this? I will provide updates as I build so that you can track my progress. Thanks :)

@MrRoudyk
Copy link

May I pick this up?

@Abeeujah
Copy link

Hello, I'm a Developer proficient in Cairo, I've gone through the draft PR and the Alexandria package, I'm also in the telegram and would ping you anytime I encounter anything that's unclear; Can I work on this issue?

@mimisavage
Copy link

Can I tackle this one?

@Supa-mega
Copy link

May I handle this issue?

@beeguy74
Copy link
Contributor

hi! i am beginner cairo developer from Paris. I just merged PR to The marquis project, that uses dojoengine.
Based on the previous PR for the leaderboard, I propose to use binary search from Alexandria library to insert players into the leaderboard.
I can also see the possibility of updating the position of players over time using Buble's sorting algorithm.
Of course, I will be covering my implementation with tests.
I intend to make a draft PR within 48 hours.

@danielcdz
Copy link
Contributor

@beeguy74 all yours, send a PR as soon as you can 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external-contributor Available for external contributors good first issue Good for newcomers ODHack10
Projects
10 participants