https://github.com/whysobad/console-tetris
A terminal ui to play tetris in the console
https://github.com/whysobad/console-tetris
cmake cpp ncurses tetris tui
Last synced: 8 months ago
JSON representation
A terminal ui to play tetris in the console
- Host: GitHub
- URL: https://github.com/whysobad/console-tetris
- Owner: WhySoBad
- Created: 2022-03-27T20:34:21.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-26T12:16:07.000Z (over 2 years ago)
- Last Synced: 2025-01-12T14:27:25.210Z (over 1 year ago)
- Topics: cmake, cpp, ncurses, tetris, tui
- Language: C++
- Homepage:
- Size: 103 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# console-tetris
> A terminal ui to play tetris in the console

## Features
* Support for big and small terminals
* Progress is saved at ```~/.config/console-tetris/console-tetris.conf```
* Growing difficulty with increasing levels
* Point calculation like on [Nintendo's Tetris versions](https://tetris.fandom.com/wiki/Scoring)
* Tetromino rotation like on [the Gamebody version](https://strategywiki.org/wiki/File:Tetris_rotation_Gameboy.png)
### Shortcuts
* Exit the program
* Pause the game
* Reset the game
## Build & Usage
This program has a single dependency to [ncurses](https://archlinux.org/packages/core/x86_64/ncurses/) and was tested on Arch
For building you need to have `cmake` installed:
```bash
# Setup cmake
cmake .
# Build the project
cmake --build .
```
After this, you'll find the `console-tetris` binary in the `./bin` directory