This is Chapter 1 from the book
HTML5 Games: Novice to Ninja
Chapter 1
01-base
02-guess