29 lines
567 B
C
29 lines
567 B
C
/***************************************************************************//**
|
|
|
|
@file snake.h
|
|
|
|
@author Jiri Stach
|
|
|
|
@date Created $date
|
|
|
|
@brief Snake game declarations.
|
|
|
|
@copyright Copyright (c), Jiri Stach. Released under the Revised
|
|
BSD License. See LICENSE.txt for details.
|
|
|
|
*******************************************************************************/
|
|
|
|
#ifndef SNAKE_H
|
|
#define SNAKE_H
|
|
|
|
|
|
void setup();
|
|
void draw();
|
|
void input();
|
|
void logic();
|
|
void generateFood();
|
|
int gameOver();
|
|
|
|
|
|
|
|
#endif // SNAKE_H
|