You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
771 B

#include <stdio.h>
#include "TicTacToe.h"
int main() {
char vertical = '|';
char horizontal[] = "---";
printf("%c%s%c%s%c%s%c\n", vertical, horizontal, vertical, horizontal, vertical, horizontal, vertical);
printf("%c %c %c %c\n", vertical, vertical, vertical, vertical);
printf("%c%s%c%s%c%s%c\n", vertical, horizontal, vertical, horizontal, vertical, horizontal, vertical);
printf("%c %c %c %c\n", vertical, vertical, vertical, vertical);
printf("%c%s%c%s%c%s%c\n", vertical, horizontal, vertical, horizontal, vertical, horizontal, vertical);
printf("%c %c %c %c\n", vertical, vertical, vertical, vertical);
printf("%c%s%c%s%c%s%c\n", vertical, horizontal, vertical, horizontal, vertical, horizontal, vertical);
}