Browse Source

Schachmattfunktion v.1, Hendrik Voß

remotes/origin/Läufer-fertig,-Hendrik-Voß
Hendrik Voß 11 months ago
parent
commit
9496c95845
  1. BIN
      build/test/out/c/schach.o
  2. BIN
      build/test/out/c/test_schach.o
  3. BIN
      build/test/out/c/test_schach_runner.o
  4. BIN
      build/test/out/test_schach.out
  5. 2
      build/test/results/test_schach.pass
  6. 3
      src/main.c
  7. 4
      src/schach.c
  8. 2
      src/schach.h

BIN
build/test/out/c/schach.o

BIN
build/test/out/c/test_schach.o

BIN
build/test/out/c/test_schach_runner.o

BIN
build/test/out/test_schach.out

2
build/test/results/test_schach.pass

@ -19,4 +19,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.15252570000302512
:time: 1.9844588999985717

3
src/main.c

@ -8,8 +8,9 @@ int main() {
int y = 8;
char** Spielfeld = create_Schachfeld(x, y);
while (checkmate() == 0){
print_Schachfeld(Spielfeld, x, y);
}
free_Schachfeld(Spielfeld, x);
return 0;

4
src/schach.c

@ -38,6 +38,10 @@
8.Schritt 2-8 wird Wiederholt
*/
int checkmate(){
return 0;
}
int read_input(){
int koordinate = 0;

2
src/schach.h

@ -6,7 +6,7 @@
void print_Schachfeld(char** , int , int );
char** create_Schachfeld(int , int );
void free_Schachfeld(char** , int );
int checkmate();
int read_input();
void choose_Figur();

Loading…
Cancel
Save