GBALATRO/balatro-gba

Use size instead of top in all stacks (played, hand, discard, etc.)

Open

#573 opened on Jun 24, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C (95 forks)auto 404
Refactorgood first issue

Repository metrics

Stars
 (2,281 stars)
PR merge metrics
 (Avg merge 4d 5h) (21 merged PRs in 30d)

Description

The mix of size and top really makes things confusing and error prone and it's probably better to only use size and not use top. Using size is more standard and it will decouple the data structure implementation from its use. This can be done as part of #498.

Originally posted by @MeirGavish in #570

Contributor guide