Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#ifndef GAME_H
#define GAME_H
#include <string>
#include <iostream>
#include "Grid.h"
#include "Player.h"
#include "AI.h"
class Game
{
public:
Game();
void runGame();
private:
void clearScreen();
void gameIntro();
void gameLoop();
int round();
bool checkWin(char symbol);
void gameWin();
void gameDraw();
void gameOver();
bool playAgain();
void resetGame();
void quitGame();
int moveCounter = 0;
Grid gridObj;
Grid *gridPtr = &gridObj;
Player playerObj;
AI aiObj;
};
#endif // GAME_H