Skip to content

80x23 terminal tetris! 80x23的终端俄罗斯方块游戏

License

Notifications You must be signed in to change notification settings

frankwang98/TinyTetris

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinytetris

80x23 terminal tetris! 80x23的终端俄罗斯方块游戏

tinytetris gif

tinytetris.cpp

This is the 80x23 version. You control it with a (left), d (right), w (rotate), s (drop), and q (quit). It depends on curses.h (so you'll need to compile with -lcurses, and install curses if you don't already have it) and requires C++11.

Good! 很好

tinytetris-commented.cpp

This one is almost identical to tinytetris.cpp, but not minified, and with some comments to make it easier to read (but it's still tricky to read in certain parts).

Easy to read version with added Chinese notes. 容易阅读的版本,并添加中文注释

build binary tinytetris-commented.cpp

Build: g++ -o tinytetris-commented tinytetris-commented.cpp -lncurses

About

80x23 terminal tetris! 80x23的终端俄罗斯方块游戏

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.4%
  • Makefile 1.6%