From fb80ac50825c7ca1fa063d3493175b7b27adbdb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 17 Nov 2020 15:42:27 +0100 Subject: add given code --- labb5/src/Boggle.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 labb5/src/Boggle.h (limited to 'labb5/src/Boggle.h') diff --git a/labb5/src/Boggle.h b/labb5/src/Boggle.h new file mode 100755 index 0000000..3abe9b5 --- /dev/null +++ b/labb5/src/Boggle.h @@ -0,0 +1,29 @@ +// This is the .h file you will edit and turn in. +// We have provided a minimal skeleton for you, +// but you must finish it as described in the spec. +// Also remove these comments here and add your own, as well as on the members. +// TODO: remove this comment header and replace it with your own + +#ifndef _boggle_h +#define _boggle_h + +#include +#include +// TODO: include any other header files you need + +using namespace std; + +class Boggle { +public: + const string DICTIONARY_FILE = "EnglishWords.dat"; + const int MIN_WORD_LENGTH = 4; + const int BOARD_SIZE = 4; + + // TODO: decide the public member functions and declare them + +private: + // TODO: decide the private member variables/functions and declare them + +}; + +#endif -- cgit v1.2.1