Praciticing Javascipt by making a game