13 #include "../Snake/snake.h" 14 #include "../Labyrinth/labyrinth.h" 15 #include "../Labyrinth/change.h" 42 bool init(
int size = 20,
int sp = 100,
int loops = -1);
void setSpeed(int sp)
The method to change the game speed without giving the direct access and some error handling...
class for containing and displaying the game field
bool init(int size=20, int sp=100, int loops=-1)
Initializes game.
bool initSnake(Point begin, short dir, int length)
Snake initialization with labyrinth updating.
void setLoops(int loops)
sets loops with some error holding
Describes the Snake entity of the game.
Coordinates and style of the cell in console window.