UnHold🎲

clear hold
This commit is contained in:
Kelly committed 2026-09-30 18:59:46 -07:00
1 parent c77a9b6c00
commit 13aac3510b
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -240,8 +240,9 @@ Like the rest of the mesh games, this is a tracker-locked DM game: once you star
| `yatz join [table]` | Join open table (or specific table id) |
| `yatz lobby` | Show open tables |
| `roll` | Roll dice during your active turn |
| `hold A,C,E` | Hold selected dice slots |
| `hold A,C,E` | Hold selected dice slots; keeps persist across the turn |
| `keep A,C,E` | Alias for hold |
| `clear` or `none` | Release all held dice for the current turn |
| `score <category>` | Score current hand in a category |
| `card` | Show your scorecard |
| `end` | Leave/end your game |
+1 -1
View File
@@ -312,7 +312,7 @@ class YatzGame:
return "Invalid hold list. Example: hold A,C,E"
current = session["turn"]["held"][:]
if not idx:
if hold_str.strip().lower() in ("none", "n", "clear"):
current = [False for _ in range(5)]
else:
for i in idx: