title: Modifying HTML5 snake game with image file for head
body: <p>I've followed a tutorial on how to create a HTML5 Snake game but I want to modify it. The tutorial can be found at <a href="http://blog.new-bamboo.co.uk/2009/12/30/html5-canvas-snake-game" rel="nofollow">http://blog.new-bamboo.co.uk/2009/12/30/html5-canvas-snake-game</a></p>
  
  <p>I want to have an image file for the head of the snake which is 10x10 pixels while the rest of the snake is the regular color. Could anyone help me accomplish this with the code from the tutorial?</p>
  
  <p>Imagine that this is the snake and [x] represents the head. I would like to modify the head to contain an image.</p>
  
  <p>[x][ ][ ][ ]</p>
  
  <p>I know that to draw an image in the canvas you would use the drawImage method, but don't know how to use it for this specific game.</p>
  
  <p>Thx in advance :)</p>