@ -30,4 +30,14 @@ int handleCommand( char* input ){
}else if( strcmp(input, "start game") == 0 ){
return 1;
}
int startMenu(){
return 0;
int startGame(){
@ -5,9 +5,16 @@ struct ticTacToe{
int currentState;
};
// Typdefinition für einen Funktionszeiger
typedef int (*commandFunction)();
char* getWelcomeMessage();
char* getRulesMessage();
struct ticTacToe createTicTacToe();
int handleCommand( char* input );
/* commands */
int startMenu();
int startGame();
#endif //TICTACTOE_H