VERSION 5.00
Begin VB.Form frmHangman 
   Caption         =   "Hangman"
   ClientHeight    =   7065
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   10020
   LinkTopic       =   "Form1"
   ScaleHeight     =   7065
   ScaleWidth      =   10020
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton cmdGuess 
      Caption         =   "Guess"
      Height          =   375
      Left            =   1800
      TabIndex        =   6
      Top             =   1320
      Width           =   735
   End
   Begin VB.TextBox txtGuess 
      Height          =   375
      Left            =   1560
      TabIndex        =   5
      Top             =   840
      Width           =   1335
   End
   Begin VB.TextBox txtLetter 
      Height          =   375
      Index           =   0
      Left            =   120
      TabIndex        =   4
      Top             =   2280
      Width           =   255
   End
   Begin VB.TextBox txtWord 
      Height          =   375
      IMEMode         =   3  'DISABLE
      Left            =   0
      PasswordChar    =   "-"
      TabIndex        =   3
      Top             =   240
      Width           =   3975
   End
   Begin VB.CommandButton cmdInputWord 
      Caption         =   "Start Game"
      Height          =   495
      Left            =   0
      TabIndex        =   2
      Top             =   720
      Width           =   1335
   End
   Begin VB.PictureBox Picture2 
      Height          =   1095
      Left            =   3600
      ScaleHeight     =   1035
      ScaleWidth      =   2355
      TabIndex        =   1
      Top             =   960
      Width           =   2415
   End
   Begin VB.PictureBox Picture1 
      Height          =   6975
      Left            =   6120
      ScaleHeight     =   6915
      ScaleWidth      =   3795
      TabIndex        =   0
      Top             =   0
      Width           =   3855
      Begin VB.Line Line4 
         X1              =   1080
         X2              =   1080
         Y1              =   240
         Y2              =   1080
      End
      Begin VB.Line Line3 
         X1              =   3240
         X2              =   1080
         Y1              =   240
         Y2              =   240
      End
      Begin VB.Line Line2 
         X1              =   3240
         X2              =   3240
         Y1              =   6600
         Y2              =   240
      End
      Begin VB.Line Line1 
         X1              =   240
         X2              =   3600
         Y1              =   6600
         Y2              =   6600
      End
   End
End
Attribute VB_Name = "frmHangman"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'12/5/05
'Hangman - A program that allows a user to enter a word and then have
'another user guess the word.

Option Explicit

Private Sub cmdGo_Click()
'Set up the board for the user
    Dim word As String
    
    word = txtWord.Text
    
'Show blanks for letters

End Sub

Private Sub GuessLetter()
'Standardize the letters

'Correct guesses - update letter boxes & clear input box

'Incorrect guesses - update hangman image & clear input box

End Sub

Private Sub cmdInputWord_Click()
    Dim i As Integer
    Dim word As String
    Dim guess As String
        
    word = txtWord.Text
    txtWord.Visible = False
    'cmdInputWord.Visible = False
    
    txtWord.Text = UCase(word)
    'guess = txtLetter(0).Text CANGED TO:
    guess = txtLetter(txtLetter.Count - 1).Text
    
    'word = txtLetter(0).Index < ???
    
    Load txtLetter(txtLetter.Count)
    txtLetter(txtLetter.Count - 1).Top = txtLetter(0).Top
    txtLetter(txtLetter.Count - 1).Left = txtLetter(txtLetter.Count - 2).Left + txtLetter(txtLetter.Count - 1).Width
    txtLetter(txtLetter.Count - 1).Text = vbNullString
    txtLetter(txtLetter.Count - 1).Visible = True

End Sub


Private Sub Form_Load()
    txtGuess.Visible = False
    cmdGuess.Visible = False
End Sub
