mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 04:46:22 +08:00
17 lines
240 B
Go
17 lines
240 B
Go
package main
|
|
const (
|
|
WIDTH = 1920
|
|
HEIGHT = 1080
|
|
)
|
|
|
|
type pixel int
|
|
var screen [WIDTH][HEIGHT]pixel
|
|
|
|
func main() {
|
|
for y := 0; y < HEIGHT; y++ {
|
|
for x := 0; x < WIDTH; x++ {
|
|
screen[x][y] = 0
|
|
}
|
|
}
|
|
}
|