mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-10-30 22:01:57 +01:00
UnHold🎲
clear hold
This commit is contained in:
1 parent
c77a9b6c00
commit
13aac3510b
2 files changed
+3
-2
No files matched your search
@@ -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 |
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user