3 ms·
There's no assignment to the „m“ variables that would make your algorithm work in the general case. im4w1l's strategy is just: Player i returns (i - [Sum of t
by nonsequitur 10y ago
There's no assignment to the „m“ variables that would make your algorithm work in the general case.
im4w1l's strategy is just:
Player i returns (i - [Sum of the other players' suits]) % 4
(With i ranging from 0 to 3)
- josefdlange 10y ago`m` is the result; this scratch here is meant to resemble algebra, not programming. You know, solve for `m`, etc.
- josefdlange 10y agoBut the subtraction is simpler. I didn't want to confuse anyone with moduloing a negative number.
- deleted 10y ago[deleted]