Jump to content

Set puzzle: Difference between revisions

m
→‎{{header|Tailspin}}: Must extract raw values from tagged identifiers for arithmetic
m (→‎{{header|Tailspin}}: Must extract raw values from tagged identifiers for arithmetic)
Line 3,951:
templates isSet
def set : $;
[ $(1).colour::raw + $(2).colour::raw + $(3).colour::raw, $(1).symbol::raw + $(2).symbol::raw + $(3).symbol::raw,
$(1).number::raw + $(2).number::raw + $(3).number::raw, $(1).shading::raw + $(2).shading::raw + $(3).shading::raw ] -> #
// if it is an array where all elements of 3, 6 or 9, it is a set
when <[<=3|=6|=9>+ VOID]> do $set !
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.