Skip to content
/ tetris Public

Clone of tetris game in a UNIX terminal with ncurses library

Notifications You must be signed in to change notification settings

brd6/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :

alt text

About

Clone of tetris game in a UNIX terminal with ncurses library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published