Skip to content

jakubsikorski/golang-tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang-tetris

A simple command-line tetris made in Golang

How to run

You need golang installed, then

  • Use go get to download termbox-go, which is used to display the game
  • Use go run . to start the game

Controls

  • s - start the game
  • q - quit the game
  • ← - move a tetromino piece left
  • → - move a tetromino piece right
  • ↑ - rotate a tetromino piece (clockwise)
  • ↓ - move a tetromino piece down (speed up)
  • space - drop a tetromino piece

About

Command-line tetris made in Golang

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages