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
|
||||
#define _boggle_h
|
||||
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include "lexicon.h"
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
static const int NUM_ROLLED_CUBES = 4;
|
||||
|
||||
|
||||
class Boggle {
|
||||
public:
|
||||
static const std::string DICTIONARY_FILE;
|
||||
@ -28,12 +27,11 @@ public:
|
||||
bool isWordEnglish(const std::string &word) const;
|
||||
bool isWordLongEnough(const std::string &word) const;
|
||||
bool isWordPlayed(const std::string &word) const;
|
||||
|
||||
private:
|
||||
std::vector<std::string> m_playedWords;
|
||||
std::array<std::string, NUM_ROLLED_CUBES> m_showingSides;
|
||||
Lexicon m_englishWords;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user