nSnake
A ncurses implementation of the classic Snake game
|
The fruit structure. More...
#include <fruit.h>
Data Fields | |
int | x |
int | y |
x position of the fruit on stage | |
int | bonus |
y position of the fruit on stage |
The fruit structure.
Each fruit has it x and y positions and a bonus score - indicating how many extra points will be rewarded to the snake when it eats the fruit.