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

Information about the current state of the game. More...

#include <brick_game.h>

Data Fields

int ** field
 20x10 Matrix of representing the game field Each cell is either 0 - empty, or 1 - filled
 
int ** next
 a 4x4 Matrix representing the next piece Each cell is either 0 - empty, or 1 - filled
 
int score
 The current score.
 
int high_score
 The highest score ever achieved.
 
int level
 The current level, 1 - 10.
 
int speed
 The current speed of the game, 1 - 10.
 
GameStatus status
 The status of the game.
 

Detailed Description

Information about the current state of the game.

Field Documentation

◆ status

GameStatus GameInfo::status

The status of the game.

See also
GameStatus

The documentation for this struct was generated from the following file: