|
@ -5,9 +5,16 @@ struct ticTacToe{ |
|
|
int currentState; |
|
|
int currentState; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// Typdefinition für einen Funktionszeiger |
|
|
|
|
|
typedef int (*commandFunction)(); |
|
|
|
|
|
|
|
|
char* getWelcomeMessage(); |
|
|
char* getWelcomeMessage(); |
|
|
char* getRulesMessage(); |
|
|
char* getRulesMessage(); |
|
|
struct ticTacToe createTicTacToe(); |
|
|
struct ticTacToe createTicTacToe(); |
|
|
int handleCommand( char* input ); |
|
|
int handleCommand( char* input ); |
|
|
|
|
|
|
|
|
|
|
|
/* commands */ |
|
|
|
|
|
int startMenu(); |
|
|
|
|
|
int startGame(); |
|
|
|
|
|
|
|
|
#endif //TICTACTOE_H |
|
|
#endif //TICTACTOE_H |