example of pseudo-random number generator.
create game of chance.