badges/defs_default.go
Daniel Esteban b3363a7fd7 almost everything working for nicebadge
- missing logo image
- cmd to generate logo image
2026-04-17 18:43:42 +02:00

34 lines
No EOL
596 B
Go

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