Skip to content

A trophy shelf, because he can't pick up a card#13

Closed
codewithwan wants to merge 2 commits into
mainfrom
feat/achievements
Closed

A trophy shelf, because he can't pick up a card#13
codewithwan wants to merge 2 commits into
mainfrom
feat/achievements

Conversation

@codewithwan

Copy link
Copy Markdown
Owner

Achievements as objects, not a grid of boxes with letter-ranks in them.

That grid is bento with a medal on it, and bento is a language from someone
else's app. The engine draws crates, ovens, cakes and rockets. He can hold
those. Cups fit that world; cards don't.

Same shape as the stats readout, for the same reason: he steps aside, the shelf
drops in beside him, cups land one at a time while he watches, it folds away, he
strolls back. The engine builds the shelf and says which cups have landed; the
labels are the reader's numbers, so the renderer draws them.

Four cups, and that's arithmetic

He occupies 11 of the stage's 32 cells. Nineteen are left. A cup is three
cells and needs one of air.

slots pitch shelf px/slot verdict
4 4 17 132 → 8 glyphs commits fits
5 4 21 132 shelf overruns the stage
5 3 16 99 → 6 glyphs cups touch, labels collide

Measured after the first draft rendered them as a gold fence with the labels
reading commitprivaterepos.

Tests hold the geometry

  • he never teleports — the first cut had shift_at(0) == -6, which breaks the
    reel's seam, and the test caught it before I'd looked at a single frame
  • every cup is up before the shelf folds
  • the shelf is gone before he walks home — home is underneath the labels,
    and the first cut walked him through his own text

The number worth showing is already there

GitHub reports 1,671 restricted contributions against 384 public. The
contribution wall can only ever draw the 384.

Sample: assets/scene-trophies.gif"384 in public this year""and 1,671
you can't see"
.

Achievements as objects, not a grid of boxes with letter-ranks in them. That
grid is bento with a medal on it, and bento is a language from someone else's
app — it looked wrong here for the same reason it looked wrong the first time.
The engine draws crates, ovens, cakes and rockets. He can hold those. Cups fit
that world; cards don't.

Same shape as the stats readout, and for the same reason: he steps aside, the
shelf drops in beside him, cups land one at a time while he watches, it folds
away, he strolls back. The engine builds the shelf and says which cups have
landed; the labels are the reader's numbers, so the renderer draws them.

Four cups, and that's arithmetic. He occupies eleven of the stage's thirty-two
cells; nineteen are left; a cup is three cells and needs one of air. Four fits
at 132px a slot, which is eight glyphs, which is 'commits' with room. Five fits
nothing legible at any spacing — measured, after the first draft rendered them
as a gold fence with the labels reading 'commitprivaterepos'.

Three tests hold the geometry: he never teleports, every cup is up before the
shelf folds, and the shelf is gone before he walks home — home is underneath
the labels, and the first cut had him walking through his own text.

The numbers worth showing are already there: GitHub reports 1,671 restricted
contributions against 384 public. The wall can only draw the 384.
@codewithwan

Copy link
Copy Markdown
Owner Author

Closing this — it's a second way to do a job the stats act already does, and does better.

The readout, with zero new code:

commits........... 384
private.......... 1671
repos.............. 23
reviews............. 4
PRs................ 13

Five slots, legible, already shipped. The shelf managed four, and its cups rendered as gold T's — because a trophy needs a bowl, handles, a stem and a base, and none of that exists at three cells. Measured: a readable cup is 5–6 cells, which fits two or three, not four. I picked the slot count first and shrank the art to fit, which is backwards.

What the trophies added over the readout was a gold shape. That isn't worth 250 lines and a fifth of the stage.

The one number worth having — GitHub reports 1,671 restricted contributions against 384 public — is a config line today:

"stats": ["commits:384", "private:1671", "repos:23", "reviews:4", "PRs:13"]

@codewithwan
codewithwan deleted the feat/achievements branch July 16, 2026 18:02
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.

1 participant