add some more comment
change game ending and produce a nice histogram