// pseudoRandom.h // // Written 11 Feb 96 by Max Hailperin // // Declares procedure for uniformly pseudorandomly choosing among options. // // This is crude, in that it doens't offer any ability to "reseed", for example. // The sequence of values will be the same every time the program is run, which // is good for debugging but not so hot in some real applications. unsigned pseudoRandom(unsigned choices); // returns a result in range from 0 // up to but not including choices