![]() |
nSnake
A ncurses implementation of the classic Snake game
|
Definition of the fruit functions. 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. | |
Definition of the fruit functions.
| void fruit_init | ( | ) |
Creates a fruit in a random place.
1.7.6.1