playMaker

Author Topic: random bool 2 in a row always the same  (Read 1279 times)

Captaincrud

  • Junior Playmaker
  • **
  • Posts: 72
random bool 2 in a row always the same
« on: July 20, 2016, 02:25:42 PM »
I have 2 random bools in a fsm each in separate state. In each of these states I check to see if I should times a random number by -1 to make negative number or keep it positive. Every time both random bools are positive or negative they are never different running 100 times. I do have wait of 0.001 in between the to flips.