Tetris200lines icon indicating copy to clipboard operation
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

  1. Have C installd on your PC (almost every PC ever has C installed)
  2. then run make. On Mac and Linux run make in your term.
  3. run ./a.out

https://user-images.githubusercontent.com/11639734/151535471-ae0695a1-00bf-4b7b-bc71-134b89eb8796.mov