Curses-based Tetris, implemented in Python