title: Why doesn't my code for making a chessboard in Processing work?
body: <p>I'm new to programming! I'm trying to make a chessboard using Processing (a language using similar syntax as Java).</p>
  <p>Why is this not working?</p>
  <pre><code>void setup(){
    //5.b In setup() set the size to 350, 350 
    size(350,350);
    
    for (int y = 0; y &lt; 8; y = y++){
      for (int x = 0; x &lt; 8; x++){
        if ((y+x+1) % 2 == 0 ){
          fill(255);
        }else{
          fill(0);
        }
        rect(50*x,50*y,50,50);
        }
        
      }
  
  }
  
  ```
  </code></pre>