Golang_snake

Golang version snake game ^_^

Demonstration

Operation

keyboard: ↑:up, ↓:down, ←:left, →:right,esc:closing page

键盘: ↑:蛇向上, ↓:蛇向下, ←:蛇向左, →:蛇向右,esc:关闭当前页面

Run

go run main.go

Or

1. go build -o compiler/snake main.go

2. ./compiler/snake

GitHub

View Github