https://github.com/brd6/tetris
Clone of tetris game in a UNIX terminal with ncurses library
https://github.com/brd6/tetris
c game tetris tetris-game
Last synced: 11 months ago
JSON representation
Clone of tetris game in a UNIX terminal with ncurses library
- Host: GitHub
- URL: https://github.com/brd6/tetris
- Owner: brd6
- Created: 2017-04-29T09:39:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-29T10:19:37.000Z (about 9 years ago)
- Last Synced: 2025-03-05T06:43:59.724Z (over 1 year ago)
- Topics: c, game, tetris, tetris-game
- Language: C
- Homepage:
- Size: 90.8 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Epitech-tetris
Clone of tetris game in a UNIX terminal with ncurses library.
The game provide a generic tetrominos system, you can create your own shape and load it. See tetrominos folder for examples of shape.
### Usage :
```
Usage: ./tetris [options]
Options:
--help Display this help
-l --level={num} Start Tetris at level num
-kl --key-left={K} Move tetrimino on LEFT with key K
-kr --key-right={K} Move tetrimino on RIGHT with key K
-kt --key-turn={K} Turn tetrimino with key K
-kd --key-drop={K} Set default DROP on key K
-kq --key-quit={K} Quit program when press key K
-kp --key-pause={K} Pause and restart game when press key K
--map-size={row,col} Set game size at row, col
-w --without-next Hide next tetrimino
-d --debug Debug mode
```
### Example :
