This commit is contained in:
Gwenhael Le Moine 2011-07-01 15:36:55 +02:00
parent c5e974a15d
commit c27494e73d

19
star.c
View file

@ -7,17 +7,18 @@
#define LEVEL_WIDTH 16
typedef enum {
WALL='#',
BALL='@',
CUBE='H',
VOID=' ',
GIFT='*'
WALL ='#',
BALL ='@',
CUBE ='H',
VOID =' ',
GIFT ='*'
} cell;
typedef enum {
UP='u',
DOWN='d',
LEFT='l',
RIGHT='r'
UP ='u',
DOWN ='d',
LEFT ='l',
RIGHT ='r'
} direction;
struct state {