Snake game for a 5x5 LED matrix
Embed:
(wiki syntax)
Show/hide line numbers
main.h
00001 // Function prototypes 00002 00003 void updateSnakeLeds(); 00004 void updateFoodLed(); 00005 bool checkForSnakeEating(); 00006 void updateDirectionInput(); 00007 00008 // constants 00009 00010 #define snakeStartCol 0 00011 #define snakeStartRow 0 00012 00013 #define foodStartCol 2 00014 #define foodStartRow 0
Generated on Wed Jul 13 2022 02:48:01 by 1.7.2