summaryrefslogtreecommitdiffstats
path: root/labb5/src/bogglemain.h
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2020-11-17 15:42:27 +0100
committerGustav Sörnäs <gustav@sornas.net>2020-11-17 15:42:27 +0100
commitfb80ac50825c7ca1fa063d3493175b7b27adbdb1 (patch)
tree4d84895d45ca2c177ddefe11164575bf6762b3ca /labb5/src/bogglemain.h
parent4065799f7080260f507a5e3ea8c2d8375e735166 (diff)
downloadtddd86-fb80ac50825c7ca1fa063d3493175b7b27adbdb1.tar.gz
add given code
Diffstat (limited to 'labb5/src/bogglemain.h')
-rwxr-xr-xlabb5/src/bogglemain.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/labb5/src/bogglemain.h b/labb5/src/bogglemain.h
new file mode 100755
index 0000000..78b7f25
--- /dev/null
+++ b/labb5/src/bogglemain.h
@@ -0,0 +1,21 @@
+/*
+ * TDDD86 Boggle
+ * This file declares required function prototypes that are defined in
+ * our provided bogglemain.cpp and your boggleplay.cpp that you will write.
+ * See the respective .cpp files for implementation comments for each function.
+ * Please do not modify this provided file.
+ */
+
+#ifndef _bogglemain_h
+#define _bogglemain_h
+
+#include "Boggle.h"
+#include <string>
+using namespace std;
+
+void intro();
+void playOneGame(Boggle& boggle);
+bool yesOrNo(string prompt);
+void clearConsole();
+
+#endif