A javaScript game with a good example of using math.random