Compare commits
2 Commits
7611d51bc4
...
master
Author | SHA1 | Date | |
---|---|---|---|
a57c821530 | |||
b026cb63bd |
@ -7,18 +7,14 @@
|
||||
// Author: Love Billenius <lovbi127@student.liu.se>
|
||||
|
||||
#include "Boggle.h"
|
||||
#include "random.h"
|
||||
#include "shuffle.h"
|
||||
#include "strlib.h"
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <unordered_set>
|
||||
|
||||
// The res folder isn't copied the same way on macOS
|
||||
#ifdef __APPLE__
|
||||
const std::string Boggle::s_DICTIONARY_FILE = "../../../EnglishWords.dat";
|
||||
#else
|
||||
const std::string Boggle::DICTIONARY_FILE = "EnglishWords.dat";
|
||||
const std::string Boggle::s_DICTIONARY_FILE = "EnglishWords.dat";
|
||||
#endif
|
||||
|
||||
static const int g_NUM_CUBES = 16; // the number of cubes in the game
|
||||
|
@ -10,7 +10,6 @@
|
||||
#define _boggle_h
|
||||
|
||||
#include "lexicon.h"
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
|
@ -13,10 +13,8 @@
|
||||
* with an unmodified version of all provided code files.
|
||||
*/
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include "random.h"
|
||||
#include "strlib.h"
|
||||
#include "Boggle.h"
|
||||
#include "bogglemain.h"
|
||||
|
@ -4,11 +4,8 @@
|
||||
|
||||
#include "Boggle.h"
|
||||
#include "bogglemain.h"
|
||||
#include "strlib.h"
|
||||
#include <cstdlib>
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <thread>
|
||||
|
||||
static const size_t LINE_LENGTH = 80;
|
||||
|
Reference in New Issue
Block a user