Files
python-bpf/examples
Varun R Mallya bc56dd821a Examples: Let bpfsnake draw in the terminal with --terminal
Both front ends share one Game that queues turns, drives the kernel's
tick and reads the maps back. The terminal one reads keys in cbreak mode
(an arrow's last byte is already the kernel's key code) and draws on the
alternate screen, so it needs no pygame; pygame is imported only for the
window.
2026-09-25 18:53:00 +05:30
..
2025-10-11 21:34:28 +05:30
2025-10-02 21:24:15 +05:30
x
2026-09-25 10:26:22 +05:30