bpftrace-tetris

This is the ported version of tetris.spt.

Requirements

  • Linux 5.3+
  • bcc master branch version
  • bpftrace master branch version

How to run

  • ./run.sh

FAQ

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 interval:ms:99.

Q. How are blocks represented?

License

GPL v2 or later