Created
December 20, 2022 09:00
-
-
Save VTRyo/a038ce168ff1949c084537865e7b7056 to your computer and use it in GitHub Desktop.
christmas threatens to come.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
cnt := 14 | |
for i := 0; i <= cnt; i++ { | |
fmt.Printf("\rSing a Song! %s", getEmoji(i)) | |
time.Sleep(time.Second * 1 / 2) | |
} | |
fmt.Println("\nThx!") | |
} | |
func getEmoji(i int) string { | |
var sources = []string{ | |
"('ε' )くー", | |
"('ㅂ' )り", | |
"('ε' )す", | |
"('□' )ま", | |
"('ε' )す", | |
"('□' )が", | |
"('ロ' )お", | |
"('ロ' )ど", | |
"('ㅂ' )し", | |
"('ロ' )を", | |
"('ロ' )か", | |
"('ㅂ' )け", | |
"('□' )て", | |
"('ロ' )く", | |
"('◇' )るー", | |
} | |
return sources[i] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment