xTetris-Game
Loading...
Searching...
No Matches
printGame.h
Go to the documentation of this file.
1#ifndef PRINTGAME_H
2#define PRINTGAME_H
3
4
5#include <wchar.h>
6
7#include "struct.h"
8
9
13void printSpacing();
14
21void printPlayersName(int points_1, int points_2, int mode);
22
31void printBoard(BoardPtr mat_1, BoardPtr mat_2, int points_1, int points_2, int mode);
32
39void gameOver(int points_1, int points_2, int mode);
40
46
47
48#endif
void printPlayersName(int points_1, int points_2, int mode)
Print players' name.
Definition printGame.c:18
void gameOver(int points_1, int points_2, int mode)
Print end screen result.
Definition printGame.c:80
void printSpacing()
Print spaces between the two boards.
Definition printGame.c:10
void printTetrominoes(TetrominoPtr parts)
Print all tetrominoes shapes.
Definition printGame.c:114
void printBoard(BoardPtr mat_1, BoardPtr mat_2, int points_1, int points_2, int mode)
Print the game with object in the terminal.
Definition printGame.c:38
Definition struct.h:5