Brick Game v1.0
Implementation of the game Tetris in the C programming language with a terminal user interface.
|
Implements top score saving functionality. More...
Go to the source code of this file.
Functions | |
int | load_top_score (void) |
Load top score from a file on disk. | |
void | save_top_score (int top_score) |
Save the top score to a file on disk. | |
Implements top score saving functionality.
int load_top_score | ( | void | ) |
Load top score from a file on disk.
Returns 0 if the top score file is missing, corrupted or cannot be read.