- printf ("This is the board \"");
- ttt_board_write (&board, stdout);
- printf ("\"\n");
-
- printf ("Make a move");
- m = getchar();
- ttt_board_make_move (&board, m);
+ for (i = 0; i <= 8; i++)
+ {
+ printf ("This is the board \"");
+ ttt_board_write (&board, stdout);
+ printf ("\"\n");
+
+ printf ("Make a move \n");
+ m = getchar() - '0';
+ newline = getchar();
+ ttt_board_make_move (&board, m);
+ }