FlipFlop board using affine transformations