diff --git a/Start_Windows/game.c b/Start_Windows/game.c index c2b9505..dc6e138 100644 --- a/Start_Windows/game.c +++ b/Start_Windows/game.c @@ -22,7 +22,7 @@ int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsi { for (unsigned int j = 0; j < searchFieldLen; ++j) { - salad[i][j] = ' '; + salad[i][j] = EMPTY_CHAR; } } @@ -90,7 +90,7 @@ int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsi { if (salad[i][j] == EMPTY_CHAR) { - salad[i][j] = 'A' + rand() % 26; + salad[i][j] = 'A' + (rand() % 26); } } } diff --git a/Start_Windows/game.o b/Start_Windows/game.o new file mode 100644 index 0000000..4a9ecf9 Binary files /dev/null and b/Start_Windows/game.o differ diff --git a/Start_Windows/input.o b/Start_Windows/input.o new file mode 100644 index 0000000..5a70047 Binary files /dev/null and b/Start_Windows/input.o differ diff --git a/Start_Windows/runTests.exe b/Start_Windows/runTests.exe new file mode 100644 index 0000000..8fed2fe Binary files /dev/null and b/Start_Windows/runTests.exe differ