hanabi: card art, black-suit fix, and the spikes answer #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hanabi/art-and-black-suit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The hidden-hand question is answered — TTS can do it
Run against a live table.
setHiddenFromexists, hides only from the colours named, and is per-colour rather than global — cards hidden from an unoccupied seat colour stayed fully readable to the player holding them, in the same hand. A hidden card leaves a placeholder occupying its slot rather than vanishing, which the game requires: clues are given as positions, so a player who cannot see how many cards they hold cannot be told anything.setInvisibleToremoves the object and is the wrong tool for that reason.The same run was the first proof
make bundleworks against real TTS —require("log")resolved in-game.Spike rewritten for solo
The old version demanded two seated players, which is useless on a single-player table. The solo test hides two cards from the player and two from a colour nobody occupies, in one hand. The empty-seat pair is the control, and it settles the per-colour question with one person in the room — more sharply too, since both groups sit under identical conditions instead of being compared across a reload.
Black is no longer clueable by colour
rules.ttsluahad black as an ordinary sixth colour while the README described the standard variant, where only a number clue touches a black card. The README was right. Rejected outright rather than allowed through to fail as an empty clue, so the error names the real problem.blackCluablerestores the old behaviour.Card art
Generated by
tools/make_cards.py, not sourced. The 6×5 grid is an interface — column is suit index, row is rank−1 — so suit order must matchrules.ttsluaor every card silently becomes a different card. Each suit carries a distinct pip shape as well as a colour; a game built on saying "these two are red" is unplayable for a colourblind player if two suits look alike.Committed rather than hosted elsewhere. The repo is public, so Forgejo raw is already a stable direct-image URL — verified unauthenticated:
200,image/png, byte-identical to the local file. This removes the third-party hosting step entirely, and ties the art lifetime to the repo, which matters because the URL is baked permanently into any save built on it.Also
Chat matching now tolerates surrounding whitespace — the anchored pattern meant one trailing space made a command silently do nothing. Found by typing exactly that during the live run.
Rules verified at 945 assertions including 200 randomised four-player games.