A modified version of a game taken from the book "Head First Javascript Programing", that I learned js for the first time