18 lines
295 B
C
18 lines
295 B
C
#ifndef __GAME_H
|
|
#define __GAME_H
|
|
|
|
void game_init();
|
|
|
|
// shape
|
|
void game_spawn_shape();
|
|
void game_place_shape();
|
|
void game_rotate_shape();
|
|
void game_move_shape(int direction);
|
|
int game_move_shape_down();
|
|
void game_reset_shape();
|
|
|
|
void game_render();
|
|
|
|
int game_is_done();
|
|
|
|
#endif /* !__GAME_H */
|