Browse Source

add ga structure that holds the game informations

remotes/origin/georg
KaffeeMaus 11 months ago
parent
commit
b2938395d1
  1. 2
      src/main/c/Georg/tictactoe.c
  2. 4
      src/main/c/Georg/tictactoe.h

2
src/main/c/Georg/tictactoe.c

@ -3,6 +3,8 @@
#include "tictactoe.h"
struct ticTacToe TICTACTOE;
char* getWelcomeMessage(){
return "Hallo und willkommen zu unserem TicTacToe Spiel. Anbei die Anleitung:\n";
}

4
src/main/c/Georg/tictactoe.h

@ -1,6 +1,10 @@
#ifndef TICTACTOE_H
#define TICTACTOE_H
struct ticTacToe{
int currentState;
};
char* getWelcomeMessage();
char* getRulesMessage();

Loading…
Cancel
Save