예제 #1
0
파일: main.go 프로젝트: jinseokYeom/Divya
// print all the intros
func intro() {
	// clear terminal
	tool.Clear()
	// terminal preferences suggestion
	fmt.Println("ADJUST YOUR TERMINAL TO 80x24 FOR OPTIMAL VIEWING!")
	time.Sleep(time.Second * 2)
	tool.Clear()
	// EVOLver
	fmt.Println(EVOLVER)
	time.Sleep(time.Second * 2)
	tool.Clear()
	// print game logo (Divya)
	fmt.Println(LOGO)
	time.Sleep(time.Second * 2)
	tool.DPrintln("\nWELCOME TO DIVYA!")
}
예제 #2
0
파일: divya.go 프로젝트: jinseokYeom/Divya
// quit the game
func gameQuit() {
	// save the game
	saveGame()
	time.Sleep(time.Second)
	// send report
	// sendReport()
	// clear terminal
	tool.Clear()
}