![]() |
nSnake
A ncurses implementation of the classic Snake game
|
Declaration of the fruit functions, defines and globals. More...
Go to the source code of this file.
Data Structures | |
struct | fruit_t |
The fruit structure. More... | |
Functions | |
void | fruit_init () |
Creates a fruit in a random place. | |
void | fruit_update_bonus () |
Drops the bonus value of the fruit for each 'frame'. | |
Variables | |
struct fruit_t | fruit |
One global copy of the fruit. |
Declaration of the fruit functions, defines and globals.
void fruit_init | ( | ) |
Creates a fruit in a random place.