rummy: a take-down plays its bottom card in the same move - #1617
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MXWdcUNjGezMzyuCkaMMLg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MXWdcUNjGezMzyuCkaMMLg
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
1d4-web | 40419b2 | Commit Preview URL Branch Preview URL |
Sep 29 2026, 08:19 PM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
iili | 40419b2 | Commit Preview URL Branch Preview URL |
Sep 29 2026, 08:19 PM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
ast-lol | 40419b2 | Commit Preview URL Branch Preview URL |
Sep 29 2026, 08:20 PM |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MXWdcUNjGezMzyuCkaMMLg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MXWdcUNjGezMzyuCkaMMLg
Review panel — #1617 @
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MXWdcUNjGezMzyuCkaMMLg
|
Recheck @
Nothing further from the panel. Watching CI on this tip. |
Play-test feedback: you shouldn't be able to take the discard pile down without actually playing the bottom card, and the table shouldn't tell you which cards qualify.
takeDown{card, cards | meldIndex}: take every card from the top of the pile down tocard, and playcardin the same move. Either meld it withcardsfrom the hand (only cards held before the draw count), or lay it off onto table meldmeldIndex. The other cards taken go to the hand. Engine:takeDownAndMeld/takeDownAndLayOff, built on the existingmeld/layOffchecks.drawDiscardtakes the top card only. Naming any other card is refused and points totakeDown. The turn and stage checks come first, so an off-turn seat still gets "not your turn".mustPlay(with the reset on leave and the check that the owed card stays playable)discardTakeableplayableandfaceOflastMove: a take-down is recorded astakeDown, with the cards it took and the meld its bottom card went to.Deploy and rollback:
takeDownand treats it as a broken frame, which drops the player's session.mustPlayis ignored, so a take-down still in progress at deploy time no longer owes its card. AdrawDiscardlast move that took several cards is still accepted.takeDownkind. rummy: take down into the discard pile; a score sheet #1614 had the same hazard for rummy: gin and 10-card deals; basic becomes 7-card #1613.Rule tweaks as first-class table options, including a take-down that may meld with cards from the stack it took: #1616.
Verified:
TakeDownkind on the recorded move🤖 Generated with Claude Code
https://claude.ai/code/session_01MXWdcUNjGezMzyuCkaMMLg