Re:NSA's Puzzle Periodical
by josefdlange on Monday August 22, 2016 @09:43AM
(#12336249)
`m` is the result; this scratch here is meant to resemble algebra, not programming.
You know, solve for `m`, etc.
Re:NSA's Puzzle Periodical
by josefdlange on Monday August 22, 2016 @09:44AM
(#12336251)
But the subtraction is simpler. I didn't want to confuse anyone with moduloing a negative number.
im4w1l's strategy is just:
Player i returns (i - [Sum of the other players' suits]) % 4
(With i ranging from 0 to 3)