Tetris200lines
Tetris200lines copied to clipboard
Tetris in 200 C lines
Used ncurses only to read, and time the loop. Tried to use as few libraries as possible.
You can make new shapes and change the table dimensions easily! ;)
Najib
How to run
- Have C installd on your PC (almost every PC ever has C installed)
- then run make. On Mac and Linux run
make
in your term. - run
./a.out
https://user-images.githubusercontent.com/11639734/151535471-ae0695a1-00bf-4b7b-bc71-134b89eb8796.mov