title: Snake game board C++
body: <p>My goal is to make a snake game. </p>
  
  <p>So I have to make the board first I think, and I made an array for it.  It has two dimensions, x and y. But after it, I don't even know what to do. I can handle the movement. I don't understand how to initialize a board, help me. I am using Code:blocks. 
  I am only using console app.</p>
  
  <p>the code is here:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;ctime&gt;
  #include &lt;string&gt;
  #include &lt;math.h&gt;
  #include &lt;cstdlib&gt;
  
  using namespace std;
  
  int main()
  {
  int board[50][50];
  srand (time(NULL));
  int foodX = rand() % 50 + 0;
  int foodY = = rand() % 50 + 0;
  
  for (int i; i &lt; 50; i++)
  {
    //i don't know well multi-dimension arrays
  }
  
  }
  </code></pre>