A perceptual randomizer that makes random sequences feel more random by preventing recent repetitions