title: How do I speed up my snake?
body: <p>So this part of my js is moving the snake.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>if(direction === "right"){
      newX ++;
      } else if(direction === "left"){
      newX --;
      } else if(direction === "up"){
      newY --;
      } else if(direction === "down"){
      newY ++;</code></pre>
  </div>
  </div>
  </p>
  
  <p>When I tried incrementing it by 2 when score is more than 10, it breaks its body.</p>
  
  <p><a href="http://codepen.io/gamalielhere/pen/qbyNmb" rel="nofollow">Here's the code pen link</a></p>