Ctrisr is a Tetris clone written in c with a terminal renderer library i made, the library
The printer library is only written with libc. I move the cursor with terminal prints like
printf("\033[%d;%dH", y, x);
- A preview of where the shape is going to land
- You move sideways with AD, rotate with W and drop on SPACE
I have not figured out how to use the arrow keys so this is a improvment potential
- With the E key you can hold or get the holded shape.
- The next 3 shapes are showed.
Git clone and then run ./run.sh. That simple script will just build it and output to a.out
There is a package on aur here
to install
yay -S ctrisr-git
then run
ctrisr