generated from freudenreichan/info2Praktikum-Wortsalat
lauffähiges programm, besteht alle unit tests
This commit is contained in:
parent
300afb0db8
commit
538528e5ec
BIN
Start_Mac/game.o
BIN
Start_Mac/game.o
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -42,7 +42,7 @@ int main(int argc, char *argv[])
|
|||||||
// error message if some words couldn't be placed
|
// error message if some words couldn't be placed
|
||||||
int windowWidth = 880;
|
int windowWidth = 880;
|
||||||
|
|
||||||
if(placedWords == 1){
|
if(placedWords == wordCount){
|
||||||
startGame(wordSalad, SALAD_SIZE, words, wordCount, windowWidth);
|
startGame(wordSalad, SALAD_SIZE, words, wordCount, windowWidth);
|
||||||
}else{
|
}else{
|
||||||
printf("Fehler: Nicht alle Wörter konnten platziert werden.\n");
|
printf("Fehler: Nicht alle Wörter konnten platziert werden.\n");
|
||||||
|
|||||||
BIN
Start_Mac/main.o
BIN
Start_Mac/main.o
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user