Skip to content

L1ghT0/Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Tetris

This is a console Tetris. Works on Linux and Windows operating systems.
Linux screenshot:
alt text

How to install

To do :(

How to start the game

You need to include a headers: "Tetris.h"(path: "src/Play/Tetris.h") and "GameMenu.h" (path: "src/Menu/GameMenu.h").
first way (without menu) :Create a pointer of type Tetris. The game can be started without a menu by calling the play method(in parameters takes an integer as the difficulty level).
Another way: create an object of the GameMenu and call the mainMenu method, in the parameters of which you need to pass a pointer to the Tetris.

Game control

'A' - left,
'S' - down,
'D' - right,
'Q' - inverse.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published