Go to file
MichaelS11 646d20ae17 Go Tetris 2017-03-27 13:07:29 -07:00
screenshots Go Tetris 2017-03-27 13:07:29 -07:00
vendor Go Tetris 2017-03-27 13:07:29 -07:00
LICENSE Go Tetris 2017-03-27 13:07:29 -07:00
README.md Go Tetris 2017-03-27 13:07:29 -07:00
ai.go Go Tetris 2017-03-27 13:07:29 -07:00
ai_test.go Go Tetris 2017-03-27 13:07:29 -07:00
board.go Go Tetris 2017-03-27 13:07:29 -07:00
engine.go Go Tetris 2017-03-27 13:07:29 -07:00
key_input.go Go Tetris 2017-03-27 13:07:29 -07:00
mino.go Go Tetris 2017-03-27 13:07:29 -07:00
minos.go Go Tetris 2017-03-27 13:07:29 -07:00
ranking.go Go Tetris 2017-03-27 13:07:29 -07:00
tetris.go Go Tetris 2017-03-27 13:07:29 -07:00
view.go Go Tetris 2017-03-27 13:07:29 -07:00

README.md

Go Tetris

Golang Tetris for Linux shell or Windows Command Prompt

Compile

go get github.com/MichaelS11/tetris

go install github.com/MichaelS11/tetris

Play

Then run the binary created, tetris or tetris.exe

Keys

Key Action
left move
z left rotate
x right rotate
right move
soft drop
hard drop
spacebar hard drop
p pause
q quit

Features include

  • AI (use i key to toggle)
  • Lock delay
  • Next piece
  • Ghost piece
  • Top scores

Screenshots

alt text

alt text

alt text