- Programming language: Lua
- Main size: 2,9 KB
- Extra size: 0 B
- Total size: 2,9 KB
- Feature count: 17
- Bytes per feature: 170 B
- A or H: move left
- S or J: rotate counterclockwise
- D or L: move right
- K or W: hard drop
- Ctrl+C: quit
- All tetrominoes
- Colored pieces
- Drop: hard drop, couple frames lock
- Faster levels:
speed = min(score / 20, 9)
- Game over detection
- Game over screen: game over text
- Gravity
- Horizontal movement
- Line clearing
- Line clear points:
- Single: 1
- Double: 4
- Triple: 9
- Tetris: 16
- No bugs
- No ceiling
- Piece preview: single piece
- Quit: terminate program
- Retry: automatic
- Rotation
- Sleep mode: from OS
- Download the archive
- Run the following commands, replacing
/path/to/tetris.lua
:/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew install lua lua /path/to/tetris.lua