There is a game loop in the main of the program which breaks whenever the player wins (there is no looser ๐)
This code contains a directory called bank containing words which a random one is selected from, and a handler package
that is responsible for checking if the letter the player guesses is included in the word or not and also checks if the
game is finished.
elahe-dastan / hangman Goto Github PK
View Code? Open in Web Editor NEWHangman gaming in Go
License: GNU General Public License v3.0