format
This commit is contained in:
parent
f3871a09e7
commit
1d70b1b3ce
10
src/Boggle.h
10
src/Boggle.h
@ -9,14 +9,13 @@
|
|||||||
#ifndef _boggle_h
|
#ifndef _boggle_h
|
||||||
#define _boggle_h
|
#define _boggle_h
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
#include <vector>
|
|
||||||
#include <string>
|
|
||||||
#include "lexicon.h"
|
#include "lexicon.h"
|
||||||
|
#include <iostream>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
static const int NUM_ROLLED_CUBES = 4;
|
static const int NUM_ROLLED_CUBES = 4;
|
||||||
|
|
||||||
|
|
||||||
class Boggle {
|
class Boggle {
|
||||||
public:
|
public:
|
||||||
static const std::string DICTIONARY_FILE;
|
static const std::string DICTIONARY_FILE;
|
||||||
@ -28,12 +27,11 @@ public:
|
|||||||
bool isWordEnglish(const std::string &word) const;
|
bool isWordEnglish(const std::string &word) const;
|
||||||
bool isWordLongEnough(const std::string &word) const;
|
bool isWordLongEnough(const std::string &word) const;
|
||||||
bool isWordPlayed(const std::string &word) const;
|
bool isWordPlayed(const std::string &word) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::vector<std::string> m_playedWords;
|
std::vector<std::string> m_playedWords;
|
||||||
std::array<std::string, NUM_ROLLED_CUBES> m_showingSides;
|
std::array<std::string, NUM_ROLLED_CUBES> m_showingSides;
|
||||||
Lexicon m_englishWords;
|
Lexicon m_englishWords;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user