4#include "../../src/cxWindow.h"
5#include "../../src/cxUtils.h"
6#include "../../src/cxKeyDefines.h"
23 enum Direction { UP, DOWN, LEFT, RIGHT };
24 std::deque<Point> mSnake;
Definition SnakeGame.h:13
void draw()
Fills the member ncurses window structure with the current.
Definition SnakeGame.cpp:33
void run()
Definition SnakeGame.cpp:99
void spawnFood()
Definition SnakeGame.cpp:26
void update()
Definition SnakeGame.cpp:63
Represents a text-based window on the screen. Can contain a title, status, and a message to appear wi...
Definition cxWindow.h:195
Definition CentipedeGame.h:10
int y
Definition CentipedeGame.h:11
int x
Definition CentipedeGame.h:11