gotetris

command module
v0.0.0-...-71382a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2015 License: BSD-3-Clause Imports: 6 Imported by: 0

README

gotetris: Tetris Written in Go

This is a console-based version of Tetris written in Go.

![alt text][logo] [logo]: https://raw.githubusercontent.com/jjinux/gotetris/master/screen_shot.png "Screen shot"

Install

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

Build:

go install github.com/jjinux/gotetris

Execute:

gotetris

Credits

gotetris is built on top of the excellent termbox-go library.

It was inspired by Alexei Kourbatov as well as my port of Tetris to Dart.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL