diff --git a/README.md b/README.md index 2561a05..8126f71 100644 --- a/README.md +++ b/README.md @@ -14,4 +14,10 @@ Similar to my Typing-Teacher project, however this is more focused on analyzing Objectives: * Clean Code * Memory Management -* Learning C \ No newline at end of file +* Learning C + +How To Compile: + +Download source files +Install ncurses (If not already installed) +Run "gcc gcc typing_test.c -lncurses" diff --git a/a.out b/a.out index 33ff985..7978c5f 100755 Binary files a/a.out and b/a.out differ diff --git a/run b/run index 69378a8..8efcf6a 100755 --- a/run +++ b/run @@ -1,2 +1,2 @@ -gcc typing_test.c +gcc typing_test.c -lncurses -g ./a.out diff --git a/typing_test.h b/typing_test.h index 9c55062..40f8eeb 100644 --- a/typing_test.h +++ b/typing_test.h @@ -1 +1,9 @@ -#define NAME "Typing Test" \ No newline at end of file +#define NAME "Typing Test" +#define MAX_X 5 +#define MAX_Y 3 +#define MAX_STRING 256 +#define NUM_MODES 5 +#define NUM_MISC 3 +char TIMED_MODES_STRING[5][MAX_STRING] = { "5s", "10s", "25s", "30s", "60s" }; +char WORD_MODES_STRING[5][MAX_STRING] = { "10", "25", "50", "100", "200" }; +char MISC_STRING[3][MAX_STRING] = {"Exit", "Stats", "Settings"}; \ No newline at end of file