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

Feature: Add Challenge & Competition #32

Draft
wants to merge 15 commits into
base: dev
Choose a base branch
from
Draft

Conversation

ryumiyax
Copy link
Collaborator

@ryumiyax ryumiyax commented Oct 24, 2024

  • Game response
    • Add data tables (challengeCompete, participant, song, bestScore)
    • Add query to collect user's challenge & competition data
    • Map data to 3906 & 3209
  • Add serials of list page
    • Multi User support Thanks to @AkaiiKitsune
    • Add challengeCompeteCard
      • Show songs in card
      • Fix: Cards have different height
    • Add Challenge list page
      • Card title of challenge shows direction flow of challenge
      • Add accept / reject as action button for the challenged donder
      • Add finished / waiting / accepted / rejected as status indicator
        • Add waiting / accepted / rejected as status indicator
        • Add finished as status indicator
        • Show Win/Failed after finished
      • Create challenge by dialog (select up to 1 music)
    • Add Competition list page
      • Add participate as action button for donders
      • Add finished / fulfilled as status indicator
        • Add fulfilled as status indicator
        • Add finished as status indicator
        • Shou rank after finished
      • Create competition by dialog (select up to 3 music)
    • Add Official Competition list page
      • Add participate as action button for donders
      • Add finished / fulfilled as status indicator
        • Add fulfilled as status indicator
        • Add finished as status indicator
        • Show Rank after finished
      • Create official competition by dialog (only user 0 can do this, select up to 5 music) (ps: I haven't played official competition)
    • Fix: Add button have strange height
  • Add detail page
    • Top view contains title, id and comment
    • Song list
    • Participants rank list
    • QRCode, scan to add folder contains songs of challenge / competition / official competition
  • Add Create limit (maximum processing challenge / competition )
  • Add public setting (private Competition share by link or with password)
  • Add no bother mode, enable by default, can't be select by others from challenge tareget list

@ryumiyax ryumiyax changed the title Add Challenge & Competition Feature: Add Challenge & Competition Oct 24, 2024
AkaiiKitsune and others added 5 commits October 28, 2024 12:46
Moved the page code to .cs files for all Challenge pages
Made the challenge section only visibile when user is connected
We no longer match admins to baid 0 but rather use their actual isAdmin value from the db
Admins should be able to register to competitions and to accept / reject challenges.
By default however, creating a competition as an admin does not make you register to it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants