title: Ludo game board in java
body: <p><a href="https://i.stack.imgur.com/PDP9i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PDP9i.png" alt="enter image description here"></a></p>
  
  <p>How to I write code to this board without using an array? 
  I tried, but I did not get the right result. It should be with functions, loops and conditional structures. Row=11, column=11. </p>
  
  <pre><code>public static void board(int size) {
      for (int i=1; i&lt;=size;i++){
          for (int j=1; j&lt;=size; j++){
              if (i==6 &amp;&amp; j==6){
                  System.out.print(" ");
              }
              else if ( i==5 || i==7 || j==5 || j==7 || i==6 &amp;&amp; j==1 || i==6 &amp;&amp; j==11 ||
                      i==1 &amp;&amp; j==6 || i==11 &amp;&amp; j==6){
                  if (i==6 &amp;&amp; j==7 || i==5 &amp;&amp; j==6 || i==6 &amp;&amp; j==5 || i==7 &amp;&amp; j==6 ){
                      break;
                  }
                  System.out.print("o");
              }
              else if (i==6 || j==6 ) {
                  System.out.print(".");
              }
              else{
                  System.out.print(" ");
              }
          }
          System.out.println();
      }
  }
  
  public static void main(String[] args) {
      board(11);
  }
  </code></pre>