Hacker News new | ask | show | jobs
by barrkel 3332 days ago
Polling the keyboard and using something like ncurses can work. I've implemented console Tetris in an hour using just those tools, and you get to write a game loop, rather than being called back by a framework like most GUI setups.