Skip to content

superfrink/tetris

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
src
 
 
 
 

Tetris Game

Console game

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

Screenshot:

Console Game Screenshot

Video of game play (A human is playing on the left, the right is showing a game with PRNG input.)

Bucket game

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.

Bucket Game Screenshot

Build status

Check-In Build