This is the ported version of tetris.spt.
How to run
If you do not readily have access to a recent linux kernel and bpftrace, you can try the included Vagrant file which launches ubuntu eoan so you can still play tetris!
Install both, then run:
vagrant plugin install vagrant-vbguest
You can then run tetris with:
Note that this also run with a recent Docker Desktop for Mac.
Q. Why is Linux 5.3+ required?
Otherwise the BPF program will be rejected due to the maximum instruction limit (see this commit.)
Q. How do I change the dropping speed?
It can be changed by modifying the interval value of
Q. How are blocks represented?
GPL v2 or later