1 Star 3 Fork 2

lwow2025/snake-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config.go 425 Bytes
一键复制 编辑 原始数据 按行查看 历史
lwow2025 提交于 2018-09-26 21:46 +08:00 . fix bug
package config
import "time"
const (
AppName = "snake"
//SnakeBody = '█'
SnakeBody = "█"
HeartBeat = 50 * time.Millisecond
DebugLogName = "debug.log"
)
var (
//Foods = []byte{ '✩', '♫', '☺', '●', '❄' }
Foods = []string{ "✩", "♫", "☺", "●", "❄" }
)
//const (
// Food1 = '✩'
// Food2 = '♫'
// Food3 = '☺'
// Food4 = '●'
// Food5 = '❄'
//)
const (
Player1 = "p1"
Player2 = "p2"
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/lwow2025/snake-go.git
git@gitee.com:lwow2025/snake-go.git
lwow2025
snake-go
snake-go
b5afa3f837d4

搜索帮助