I just wondered how to play Tetris in command line. Googled it and found several results with source code. There are three of them I've played:
- Tetris for the command line with Python Curses (in Python)
- Play Tetris at the command line (in sed)
- tt: Tetris for Terminals (in C)
utils.c:32:20: error: curses.h: No such file or directory
utils.c:33:18: error: term.h: No such file or directory
In Ubuntu, just install the ncurses-dev.
No comments:
Post a Comment