Skip to content

Leaf Sweep: the sack goes in the bin again; one grab per click - #356

Merged
ngcoding10 merged 2 commits into
mainfrom
claude/leaf-sweep-bin-clicks
Nov 27, 2026
Merged

ngcoding10 merged 2 commits into
mainfrom
claude/leaf-sweep-bin-clicks

Conversation

@ngcoding10

Copy link
Copy Markdown
Collaborator
  • Leaf Sweep (e63334287a3deaa3/windrow/):
    • Bin fix: a misplaced else in hud() hid the "Empty your sack" prompt and the phone button every refresh. They show again. The range is a bit wider (3.2 m), and clicking or tapping Grab next to a bin with a full sack also empties it. The opening card, hidden by the same bug, shows again.
    • One grab per click or tap: holding the button no longer keeps collecting. The Steady hands shed upgrade (hold to grab) is removed, and saves that had it get 120 acorns back once, with a notice. Knee pads now really do double the grab.
    • Raking and blowing still work while held, as before.
  • Save key windrow:v1 is kept; up.hold is now always 0. English and Spanish text updated, README updated. What's new: one file, e63334287a3deaa3/news/leaf-sweep-bin-and-clicks.json.
  • Tested on desktop and touch at 390×844 / 844×390: all 7 bins, the refund, and a full Front Yard clear by clicking.

Generated by Claude Code

- The bin prompt (and the touch "Empty your sack" button) never showed: the
  opening-card lines added in hud() split the prompt's if/else, so the else
  hid the prompt every refresh. Restored as one if / else if / else, which
  also brings back the opening card (its line was swallowed by a comment).
- Bin range 2.6 -> 3.2 m from the bin's middle (BIN_R); a click or a tap on
  Grab with a full sack at a bin empties it too.
- Holding the button never grabs again: Steady hands (`hold`) is out of the
  shed; saves that had it get its 120 acorns back once (up.hold kept, 0).
- Kneeling (knee pads) makes the grab circle 1.41x wider, as its reward text
  promises; how-to text says click/tap once per handful (with Spanish).
- What's new entry in e63334287a3deaa3/news/, README updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM83QU3zxfQu1UxFEBM
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying ascoding11-github-io with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8819e9e
Status: ✅  Deploy successful!
Preview URL: https://9474ac85.ascoding11-github-io.pages.dev
Branch Preview URL: https://claude-leaf-sweep-bin-clicks.ascoding11-github-io.pages.dev

View logs

@netlify

netlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for ascoding11 ready!

Name Link
🔨 Latest commit 3861031
🔍 Latest deploy log https://app.netlify.com/projects/ascoding11/deploys/6b097302b4b0a8c7e3004069
😎 Deploy Preview https://deploy-preview-356--ascoding11.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ngcoding10
ngcoding10 merged commit 4202ab6 into main Nov 27, 2026
4 of 6 checks passed
@netlify

netlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cosmic-dasik-e73c56 ready!

Name Link
🔨 Latest commit 3861031
🔍 Latest deploy log https://app.netlify.com/projects/cosmic-dasik-e73c56/deploys/6b09730215522e75f49a74e5
😎 Deploy Preview https://deploy-preview-356--cosmic-dasik-e73c56.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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