-
Notifications
You must be signed in to change notification settings - Fork 0
/
Game.h
36 lines (32 loc) · 1.12 KB
/
Game.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/***************************************************************************************************
** Author: Michael Johnson
** Date: 7/16/2017
** Description: Header file for Game class
***************************************************************************************************/
#ifndef GAME_H
#define GAME_H
#include "LoadedDie.h"
class Game
{
private:
int numOfSides, // Holds the number of side for the dice
numOfRounds, // Holds the number of rounds
roundNum, // Holds the round number
diceOneScore, // Holds the roll score for player 1 for each round
diceTwoScore, // Holds the roll score for player 2 for each round
playerOneScore, // Holds the game score for player 1
playerTwoScore; // Holds the game score for player 2
string typeOfDieP1, // Holds the type of die for player 1
typeOfDieP2; // Holds the type of die for player 2
public:
Game();
InputValid inputVal2;
void menu();
void setRounds();
void rollDice(Dice*, Dice*);
Dice* makeDie(int, string, int);
void determineWinner();
void displayDice(Dice*, Dice*);
void deallocateMem(Dice*, Dice*);
};
#endif