Skip to content

Simple game where you guess number chosen by computer. Sample project on Golang

Notifications You must be signed in to change notification settings

phomm/GuessNumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

GuessNumber

Simple game where you guess number chosen by computer gopher

The game process is looped until user decides to stop, each run is separate guess game where computer gives you some tries to guess the chosen number and answering if the try was winning or losing or if your number is less or more and you have some more tries

The project's intent was to make a fast first glance on Go language Golang, on the website you can find infos and SDK to build project from source and run the game

It has some mature elements taken from previous experience in other languages, such as Maps

You could define range of guessing number via min and max variables, and count of tries via maxTries variable.

Also, I've tried to make code as readable and elegant as I could (but with maybe some foreign style as for Go)

About

Simple game where you guess number chosen by computer. Sample project on Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages