Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions 15-project-retro-led-clock/exercises/02-alarm/placeholders.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@
package main

type placeholder [5]string
alarm := [8]placeholder{
[5]string{" ", " ", " ", " ", " "},
[5]string{"███", "█ █", "███", "█ █", "█ █"},
[5]string{"█ ", "█ ", "█ ", "█ ", "███"},
[5]string{"███", "█ █", "███", "█ █", "█ █"},
[5]string{"███", "█ █", "██ ", "█ █", "█ █"},
[5]string{"█ █", "███", "█ █", "█ █", "█ █"},
[5]string{"█ ", "█ ", "█ ", " ", "█ "},
[5]string{" ", " ", " ", " ", " "},
}

var zero = placeholder{
"███",
Expand Down