mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-12-06 09:58:34 +00:00
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.