Implement hangman by using canvas.