Exemplo n.º 1
0
// 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!")
}
Exemplo n.º 2
0
// quit the game
func gameQuit() {
	// save the game
	saveGame()
	time.Sleep(time.Second)
	// send report
	// sendReport()
	// clear terminal
	tool.Clear()
}