#include #include using namespace std; #include "filedb.h" #include "guesses.h" #include "gallows.h" #include "secret_word.h" int main() { ////////////////////////// // test the filedb ////////////////////////// FileDB fdb; // open a file that doesn't exist, verify that it handles it // open the secret_words.txt file // print a series of random words from the file ////////////////////////// // test the gallows ////////////////////////// Gallows g; // draw and increment until done ////////////////////////// // test the guesses ////////////////////////// Guesses guesses; // add letters, including repeats, and draw to verify // check for letter that do and do not exist in the set ////////////////////////// // test the secret word ////////////////////////// SecretWord secret("bah"); // draw as all blanks // make correct guess and redraw // make incorrect guess and redraw // continue until done // test a different word system("pause"); return 0; }