nSnake
A ncurses implementation of the classic Snake game
Functions
src/main.c File Reference

The 'main' function only. More...

#include "engine.h"
#include "fruit.h"
#include "nsnake.h"
#include "player.h"
#include "arguments.h"
Include dependency graph for main.c:

Functions

int main (int argc, char *argv[])
 The main function - contains the main loop of the game.

Detailed Description

The 'main' function only.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

The main function - contains the main loop of the game.

Note:
I tried to make this function as clear as possible, so anyone could understaing the whole game logic starting by here.
Have fun with the source code!
 All Data Structures Files Functions Variables Enumerations Defines