项目
在 GitHub 查看
jjinux/gotetris
关于
用 Go 编写的控制台版俄罗斯方块。
其他项目实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文gotetris: Tetris Written in Go
This is a console-based version of Tetris written in Go.

Run directly
go run github.com/jjinux/gotetris@latest
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.
探索相关项目
加载中…