(1..100).map {|i| srand(1781773465) if (i%15)==1; [i, “Fizz”, “Buzz”, “FizzBuzz”][rand(4)]}
fizzbuzz entirely overthought… but awesome.
“For the non-programmers, that makes a list of the four things you could display for each number, then picks one of them at random. If you seed the random number generator appropriately, it will make the correct choice 15 times in a row, which is when the cycle of FizzBuzz repeats itself.”