Files
learngo/13-loops/exercises/08-lucky-number-exercises/01-first-turn-winner/main.go
2018-10-30 22:38:26 +03:00

29 lines
747 B
Go

// For more tutorials: https://blog.learngoprogramming.com
//
// Copyright © 2018 Inanc Gumus
// Learn Go Programming Course
// License: https://creativecommons.org/licenses/by-nc-sa/4.0/
//
package main
// ---------------------------------------------------------
// EXERCISE: First Turn Winner
//
// If the player wins on the first turn, then display
// a special bonus message.
//
// RESTRICTION
// The first picked random number by the computer should
// match the player's guess.
//
// EXAMPLE SCENARIO
// 1. The player guesses 6
// 2. The computer picks a random number and it happens
// to be 6
// 3. Terminate the game and print the bonus message
// ---------------------------------------------------------
func main() {
}