



Dim TextBoxes As TextBox() = Me.Controls.OfType(Of TextBox).Where(Function(t As TextBox) Not t.Name.Contains("hint")).Reverse.ToArray
Dim word As String = "test"
For i As Integer = 0 To word.Length
TextBoxes(i).Tag = word(i).ToString
Next
Dim input As String = "W"
Dim successCount As Integer = 0
For each tBox As TextBox In TextBoxes
If tBox.Tag.ToLower = input.ToLower Then
tBox.Text = tBox.Tag
successCount += 1
End If
Next tBox
If successCount = 0 Then DoNextHangmanAnimation