OneLiteFeatherNET / OneLiteFeatherNET/Voyager

enhancement: Add live sidebar scoreboard showing player rankings during race

Open
#100 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

alpha enhancement P1
Dominant language
Java
Stars
0
Forks
0
Avg merge
2d 21h
Merged PRs (30d)
12

Description

Description

There is no sidebar scoreboard during a race. Players have no awareness of their position relative to others. A live ranking display (standard Minecraft sidebar objective) is essential for the Mario Kart-style competitive feel.

Acceptance Criteria

  • A sidebar scoreboard is shown to all players during the Game phase
  • Scoreboard updates every second (not every tick — 20 Hz sidebar writes cause client flicker)
  • Displayed info per row: rank, player name, rings passed / total rings, cup points
  • Scoreboard is cleared when the Game phase ends
  • Works correctly with 2–8 players simultaneously

Technical Details

  • Use Minestom's `Scoreboard` / `Sidebar` API
  • Update driver: a 20-tick (1 s) interval in `GamePhase.tick()` or a dedicated `ScoreboardSystem`
  • Sort players by `ScoreComponent.ringsHit` descending; tie-break by time of last ring pass
  • Remove `ScoreDisplaySystem`'s actionbar write once this scoreboard is active (consolidate HUD)

Dependencies

  • Scoring source-of-truth issue (#99) resolved
  • Elytra flight and phase wiring complete

Estimate

M

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with GamePhase.tick(), ScoreDisplaySystem, and the scoring source of truth from issue #99; then review Minestom's Scoreboard/Sidebar API. Implement the Game-phase sidebar with one-second updates, ranking and tie-break rules, and the listed per-player fields, while removing the actionbar write. Verify it clears at phase end and works for 2–8 players.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.