gotetris: Tetris Written in Go
This is a console-based version of Tetris written in Go.
go get github.com/jjinux/gotetris
Working on the Code
See How to Write Go Code.
Setup your Go workspace:
mkdir -p gotetris/src/github.com/jjinux cd gotetris (cd src/github.com/jjinux && git clone https://github.com/jjinux/gotetris.git) echo "See src/github.com/jjinux/gotetris/README." > README # Do this each time to work on the code from the top-level # gotetris directory. export GOPATH=`pwd` export PATH=$PATH:$GOPATH/bin # Install dependencies. go get -u github.com/nsf/termbox-go
go install github.com/jjinux/gotetris
gotetris is built on top of the excellent termbox-go library.