Browse Source

added print prompt function

remotes/origin/ticTacToe
Aimee Reincke 2 years ago
parent
commit
b818175f99
  1. 4
      src/c/ticTacToe.c
  2. 1
      src/c/ticTacToe.h

4
src/c/ticTacToe.c

@ -7,4 +7,8 @@
int something(int a){
return a;
}
void printPrompt(){
printf("Let's play Tic Tac Toe. You will use O, I will use X.\nJust enter the number of the field you choose.\nYou start.\n");
}

1
src/c/ticTacToe.h

@ -2,5 +2,6 @@
#define TICTACTOE_H
int something(int a);
void printPrompt();
#endif
Loading…
Cancel
Save