1
0
Fork 0
tetris-c/include/game.h
2026-05-10 00:20:28 +02:00

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 */