Go to file
MichaelS11 cf054d3c40 Updated readme 2017-07-01 15:36:05 -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 Updated readme 2017-07-01 15:36:05 -07:00
ai.go Improved AI 2017-03-28 12:52:09 -07:00
ai_test.go Improved AI 2017-03-28 12:52:09 -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 Improved AI 2017-03-28 12:52:09 -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 with optional AI for console window

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