To play the game use:
go run tetris_console_game.go
Or build it via:
go build -o tetris_console_game tetris_console_game.go
Video of game play (A human is playing on the left, the right is showing a game with PRNG input.)
There is a
-b flag to the
tetris_console_game to play a simple bucket tetris-like game. The bucket game only has one piece and that piece is a single block. The game only has 10 rows and 3 columns.