alpha_beta.c
changeset 97 f883331a1bf2
parent 96 810acedf60d8
equal deleted inserted replaced
96:810acedf60d8 97:f883331a1bf2
   151         printf (" | ");
   151         printf (" | ");
   152         printf ("%c", board[3 * i + 1]);
   152         printf ("%c", board[3 * i + 1]);
   153         printf (" | ");
   153         printf (" | ");
   154         printf ("%c", board[3 * i + 2]);
   154         printf ("%c", board[3 * i + 2]);
   155         printf (" | \n");
   155         printf (" | \n");
   156         if (i != 2) {
   156         printf ("     +---+---+---+\n");
   157             printf ("     +---+---+---+\n");
       
   158         } else {
       
   159             printf ("     +---+---+---+\n");
       
   160         }
       
   161     }
   157     }
   162     if (stack_end->data != NULL)
   158     if (stack_end->data != NULL)
   163         printf ("Score: %3d\n", stack_end->data->value);
   159         printf ("Score: %3d\n", stack_end->data->value);
   164 }
   160 }
   165 
   161