diff --git a/README.md b/README.md index 4bdc3a6..bab9520 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ -# bash_hangman +# Hangman in BASH A basic UNIX terminal based hangman game written in Bash. + +This is a hangman game that I wrote in the Bourne again shell (Bash UNIX shell) while trying to learn some of the syntax. The main game is started by executing the hangman script using: + +> ./hangman + +in a bash terminal. This game looks for a dict.dat file full of words that are randomly selected from. + +Enjoy! diff --git a/hangman b/hangman index 428460c..e123112 100755 --- a/hangman +++ b/hangman @@ -1,7 +1,7 @@ #!/bin/bash # # -# A HANGMAN GAME WRITTEN FOR THE BORN AGAIN SHELL! +# A HANGMAN GAME WRITTEN FOR THE BOURNE AGAIN SHELL! # # This game was coded for fun while I was trying to learn bash. To play the game # ensure that this script has execute permissions and then type ./hangman in the @@ -10,7 +10,11 @@ # This game reads a list of words from a dict.dat file in the same directory as # the hangman script. # - +# Author: Ashton Seth Reimer +# Date: Summer 2010 +# License: See the license file included in the repository on github: +# https://github.com/asreimer/bash_hangman +# #initialize the variables and arrays we need declare -a word