Skip to content
Permalink
2c8cede8d9
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
35 lines (23 sloc) 528 Bytes
#ifndef AI_H
#define AI_H
#include <iostream>
#include "Grid.h"
class AI
{
public:
AI();
AI(Grid *grid);
void aiTurn();
char getSymbol();
void setSymbol(char playerSymbol);
void setDifficulty();
void setTargetGrid(Grid *grid);
private:
enum difficultyScale{Normal = 1, Impossible = 2};
void normalAITurn();
void impossibleAITurn();
Grid *gridPtr;
int difficulty = 0;
char symbol = ' ';
};
#endif // AI_H