Brick Game v1.0
Implementation of the game Tetris in the C programming language with a terminal user interface.
Loading...
Searching...
No Matches
common.h File Reference

Defines common functionality shared across different states. More...

#include <stdlib.h>
#include "../game.h"
+ Include dependency graph for common.h:

Go to the source code of this file.

Functions

static PieceType generate_piece (void)
 Generate a random piece type.
 

Detailed Description

Defines common functionality shared across different states.