Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guess the Number

this is a simple golang program which creates a random number, then prompts the user for an integer input to guess that number. The input is compared to the secret random number to give hints to the actual number After 3 tries the program stops

Setup:

  1. install golang if Mac use brew install go if Linux or Windows go to https://go.dev/doc/install

Run the program:

from terminal

go run main.go

Run unit tests:

from terminal

go test

About

golang guess the number in 3 tries with unit tests

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages