示例#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
// quit the game
func gameQuit() {
	// save the game
	saveGame()
	time.Sleep(time.Second)
	// send report
	// sendReport()
	// clear terminal
	tool.Clear()
}