nSnake
A ncurses implementation of the classic Snake game
Data Fields
fruit_t Struct Reference

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

Detailed Description

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.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Enumerations Defines