1 #ifndef GRIDMANAGEMENT_H 2 #define GRIDMANAGEMENT_H 29 void Color (
const std::string & Col);
56 void DisplayGrid (
const CMat & Mat,
const CMyParam & Params,
bool ShowLineNumber =
true,
bool ShowColor =
true);
67 #endif // GRIDMANAGEMENT_H void DisplayGridWithLineAndColumnNumbers(const CMat &Mat)
Display the grid showing the line and the column numbers.
void ClearScreen()
Clear the current terminal.
void Color(const std::string &Col)
Set the color of the future input in the terminal.
void DisplayGrid(const CMat &Mat, const CMyParam &Params, bool ShowLineNumber=true, bool ShowColor=true)
Display the grid according to the parameters.
Struct containing all the game's parameters.
void DisplayGridWithLineAndColumnNumbersAndColor(const CMat &Mat, const CMyParam &Params)
Display the grid showing the line and the column numbers. Everything is colored according to the set ...
std::vector< CVLine > CMat
CMat : alias to a game grid type.
void InitGrid(CMat &Grid, const unsigned &Size)
Initialize the grid according to the size.
Set of usefull functions.
Definition of usefull types or aliases for the project.