2026-04-15 20:50:12 +00:00
|
|
|
//go:build !gopher_badge && !pybadge && !nicenano
|
|
|
|
|
// +build !gopher_badge,!pybadge,!nicenano
|
2026-04-14 17:21:59 +00:00
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
// Default definitions for IDE support and testing
|
|
|
|
|
// This file is not compiled when using a specific target
|
|
|
|
|
|
|
|
|
|
const (
|
2026-04-17 16:43:42 +00:00
|
|
|
hardwareName = "DEFAULT"
|
2026-04-14 17:21:59 +00:00
|
|
|
displayWidth = 320
|
|
|
|
|
displayHeight = 240
|
2026-04-17 16:43:42 +00:00
|
|
|
|
|
|
|
|
hasAccel = false
|
2026-04-14 17:21:59 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
const (
|
2026-04-15 20:50:12 +00:00
|
|
|
cornerRadius = 10
|
|
|
|
|
topBandHeight = 54
|
|
|
|
|
bottomBandHeight = 20
|
|
|
|
|
helloY = 34
|
|
|
|
|
myNameIsY = 54
|
|
|
|
|
gophersY = 208
|
|
|
|
|
gophersX = 84
|
2026-04-14 17:21:59 +00:00
|
|
|
|
2026-04-15 20:50:12 +00:00
|
|
|
menuItemSpace = 20
|
|
|
|
|
menuCircleR = 6
|
2026-04-14 17:21:59 +00:00
|
|
|
)
|
2026-04-17 16:43:42 +00:00
|
|
|
|
|
|
|
|
// snake
|
|
|
|
|
const (
|
|
|
|
|
snakeWidthBLOCKS = 32
|
|
|
|
|
snakeHeightBLOCKS = 24
|
|
|
|
|
)
|