-
Notifications
You must be signed in to change notification settings - Fork 19
Create a tournament PoC model #93
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
Comments
Hi @coxmars ! I would be interested in creating a first version of tournament management in your backend. About my approach, I would start with a simple but extensible tournament structure based on what you described in this issue (and probably what has been done on the I'm used to contribute on OnlyDust projects (see my OD profile) and I mainly contribute on Dojo core and sozo since beginning of this year, so I have a good knowledge of Dojo core. I'm also very active on the NodeGuardians platform (my profile). |
Hey! I'm Gerson. 👋I'm a member of Dojo Coding and have previously contributed to other projects like:
I'd like to work on this issue. Check my OnlyDust profile for my contributions: Profile Plan to Solve the Issue:
|
Could I grab this task? |
Hi @remybar, your experience is great but for this one I will choose @Gerson2102, are you interested in the related issue (unit tests for tournament) or another one of your interest? |
Background: extensive web 2.0 |
Ok, thanks for your answer. |
I'd be happy to do this. |
I agree in part, but at enterprise level many times the features/flow are created first and even after unit tests are implemented and many times by different devs, I'm not saying it's right but it's part of, anyway if any other issue is interested is more than welcome. |
Yes, I fully understand your point, I've seen that during almost 20 years in the companies I worked for ^^ All the issues have already been assigned, so next time for me 👍 |
Awesome experience and for sure we would like to have you here in the future, thanks 🫡 |
Hello, I would love to apply for related task like this (if any). I am new here, but I have good knowledge on designing and developing applications. |
Create a tournament.cairo PoC model to manage in-game tournaments dynamically, allowing structured player competitions.
You can think about these fields, feel free to change, delete, or modify them according to our current backend structure:
tournament_id
: Unique ID for the tournament.name
: Name of the tournament.status
: Status of the tournament (e.g.,pending
,ongoing
,completed
). You can create an enum.entry_fee
: Optional cost for players to enter the tournament.max_participants
: Maximum number of participants allowed.current_participants
: List of player IDs participating in the tournament.prize_pool
: List of rewards (e.g., items, currency).Feel free to implement the following core functions:
create_tournament
: Create a new tournament with specified attributes.register_player
: Register a player in the tournament if it ispending
and not full.start_tournament
: Mark the tournament asongoing
and validate the conditions for starting.complete_tournament
: Finalize the tournament, declare the winner, and distribute rewards.get_tournament
: Retrieve details of a specific tournament, including participants and status.You are encouraged to add any additional functions or operations you believe are necessary to improve the model's functionality or better integrate it into the game.
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.
The text was updated successfully, but these errors were encountered: