Compare commits
No commits in common. "ceddebcd8056f20707b681061cfe74bd1c8cbb7e" and "b285704ae19830b813158e4a20bdb54db4367b46" have entirely different histories.
ceddebcd80
...
b285704ae1
13
Include/FileHelper.h
Normal file
13
Include/FileHelper.h
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#ifndef FILEHELPER_H
|
||||||
|
#define FILEHELPER_H
|
||||||
|
|
||||||
|
class FileHelper {
|
||||||
|
public:
|
||||||
|
FileHelper();
|
||||||
|
|
||||||
|
~FileHelper();
|
||||||
|
|
||||||
|
static bool FileExists(char *path);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
16
Include/FileReader.h
Normal file
16
Include/FileReader.h
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#ifndef FILEREADER_H
|
||||||
|
#define FILEREADER_H
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
class FileReader {
|
||||||
|
public:
|
||||||
|
FileReader();
|
||||||
|
|
||||||
|
~FileReader();
|
||||||
|
|
||||||
|
static std::string GetFile(char *path);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
18
Include/NumberHelper.h
Normal file
18
Include/NumberHelper.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#ifndef NUMBERHELPER_H
|
||||||
|
#define NUMBERHELPER_H
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
class NumberHelper {
|
||||||
|
public:
|
||||||
|
NumberHelper();
|
||||||
|
|
||||||
|
~NumberHelper();
|
||||||
|
|
||||||
|
static vector<int> GetNumbers(string csv);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
18
Include/PrintFrames.h
Normal file
18
Include/PrintFrames.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#ifndef PRINTFRAMES_H
|
||||||
|
#define PRINTFRAMES_H
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
class PrintFrames {
|
||||||
|
public:
|
||||||
|
PrintFrames();
|
||||||
|
|
||||||
|
~PrintFrames();
|
||||||
|
|
||||||
|
static void PrintHeader(vector<int> rolls);
|
||||||
|
static void PrintValue(vector<int> rolls);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
18
Include/ScoreCalculator.h
Normal file
18
Include/ScoreCalculator.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#ifndef SCORECALCULATOR_H
|
||||||
|
#define SCORECALCULATOR_H
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
class ScoreCalculator {
|
||||||
|
public:
|
||||||
|
ScoreCalculator();
|
||||||
|
|
||||||
|
~ScoreCalculator();
|
||||||
|
|
||||||
|
static int GetScore(vector<int> rolls);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user