nSnake
A ncurses implementation of the classic Snake game
|
Represent the snake itself. More...
#include <player.h>
Data Fields | |
int | is_alive |
Indicates if the player is alive. | |
int | speed |
How many chars will the player move by frame. | |
int | size |
Current size of the snake's body. | |
int | score |
The player's score :D. | |
int | direction |
Which direction shoud the player go. | |
struct player_pieces * | body |
All pieces of the snake (including the head) |
Represent the snake itself.