tetris-go is a tetris game implementation that runs in the terminal.
https://github.com/nsf/termbox-go is used to render the blocks and draw texts.
-
go get github.com/ilkinulas/tetris-go -
go install github.com/ilkinulas/tetris-go -
tetris-go
| Action | Key |
|---|---|
| Move Left | LEFT arrow |
| Move Right | RIGHT arrow |
| Rotate | UP arrow |
| Soft Drop | DOWN arrow |
| Hard Drop | Space Bar |
| ESC | Exit |
