pub struct GridCell {
pub letter: char,
pub value: u8,
pub multiplier: Option<Multiplier>,
pub has_gem: bool,
pub is_hole: bool,
pub is_poisoned: bool,
pub is_abducted: bool,
}Expand description
A single cell in the game grid.
Fields§
§letter: char§value: u8§multiplier: Option<Multiplier>§has_gem: bool§is_hole: boolTrue when this cell is a “hole” — occupies its position in the layout but can’t be selected as part of a word path. Used by Adventure Mode levels that want asymmetric playable regions. Hole cells have no letter contribution and are skipped by the refill pipeline.
is_poisoned: boolTrue when this cell has been poisoned by a Snake adventure
event. Poisoned letters contribute negative value when used in
a word (sign-flipped — value becomes -value for scoring),
so players want to avoid them. Poison clears when the cell is
rerolled (word consumption or another event hitting the cell).
Adventure-only; multiplayer sessions never set this.
is_abducted: boolTrue when this cell has been abducted by a UFO adventure
event. Abducted cells are temporarily unselectable (mirrors
is_hole for path validation) and reroll back to normal on a
later round. Adventure-only; multiplayer sessions never set
this.