Sei sulla pagina 1di 2

DANILO G. NICOLAS JR.

JOHN PAUL ANCHORIZ If OptHeart = True And x = 4 And y = 4 And If OptDiamond = True And x = 2 And y = 2
z = 4 Then And z = 3 Then
Card Game LblMessage.Caption = "JACKPOT" LblMessage.Caption = "VERY GOOD"
Else ElseIf OptDiamond = True And x = 2
LblMessage = "TRY AGAIN" And y = 2 And z = 4 Then
End If LblMessage.Caption = "VERY GOOD"
ElseIf OptDiamond = True And x = 2
If OptClover = True And x = 1 Then And y = 2 And z = 1 Then
LblMessage.Caption = "GOOD" LblMessage.Caption = "VERY GOOD"
ElseIf OptClover = True And y = 1 Then ElseIf OptDiamond = True And x = 3
LblMessage.Caption = "GOOD" And y = 2 And z = 2 Then
ElseIf OptClover = True And z = 1 Then LblMessage.Caption = "VERY GOOD"
LblMessage.Caption = "GOOD" ElseIf OptDiamond = True And x = 4
End If And y = 2 And z = 2 Then
LblMessage.Caption = "VERY GOOD"
If OptClover = True And x = 1 And y = 1 And ElseIf OptDiamond = True And x = 1
z = 2 Then And y = 2 And z = 2 Then
Private Sub CmdExit_Click()
LblMessage.Caption = "VERY GOOD" LblMessage.Caption = "VERY GOOD"
End
ElseIf OptClover = True And x = 1 And y = 1 ElseIf OptDiamond = True And x = 2
End Sub
And z = 3 Then And y = 1 And z = 2 Then
LblMessage.Caption = "VERY GOOD" LblMessage.Caption = "VERY GOOD"
Private Sub CmdPlay_Click()
ElseIf OptClover = True And x = 1 And y = 1 ElseIf OptDiamond = True And x = 2
Timer1.Enabled = True
And z = 4 Then And y = 3 And z = 2 Then
LblMessage.Caption = ""
LblMessage.Caption = "VERY GOOD" LblMessage.Caption = "VERY GOOD"
End Sub
ElseIf OptClover = True And x = 2 And y = 1 ElseIf OptDiamond = True And x = 2
And z = 1 Then And y = 4 And z = 2 Then
Private Sub CmdStop_Click()
LblMessage.Caption = "VERY GOOD" LblMessage.Caption = "VERY GOOD"
Timer1.Enabled = False
ElseIf OptClover = True And x = 3 And y = 1 End If
Dim x, y, z
And z = 1 Then
LblMessage.Caption = "VERY GOOD" If OptSpade = True And x = 3 Then
x = Val(Lbl1.Caption)
ElseIf OptClover = True And x = 4 And y = 1 LblMessage.Caption = "GOOD"
y = Val(Lbl2.Caption)
And z = 1 Then ElseIf OptSpade = True And y = 3 Then
z = Val(Lbl3.Caption)
LblMessage.Caption = "VERY GOOD" LblMessage.Caption = "GOOD"
If OptClover = True And x = 1 And y = 1 And z = 1 Then
ElseIf OptClover = True And x = 1 And y = 2 ElseIf OptSpade = True And z = 3 Then
LblMessage.Caption = "JACKPOT"
And z = 1 Then LblMessage.Caption = "GOOD"
Else
LblMessage.Caption = "VERY GOOD" End If
LblMessage = "TRY AGAIN"
ElseIf OptClover = True And x = 1 And y = 3
End If
And z = 1 Then If OptSpade = True And x = 3 And y = 3
LblMessage.Caption = "VERY GOOD" And z = 2 Then
If OptDiamond = True And x = 2 And y = 2 And
ElseIf OptClover = True And x = 1 And y = 4 LblMessage.Caption = "VERY GOOD"
z = 2 Then
And z = 1 Then ElseIf OptSpade = True And x = 3 And
LblMessage.Caption = "JACKPOT"
LblMessage.Caption = "VERY GOOD" y = 3 And z = 1 Then
Else
End If LblMessage.Caption = "VERY GOOD"
LblMessage = "TRY AGAIN"
ElseIf OptSpade = True And x = 3 And
End If
If OptDiamond = True And x = 2 Then y = 3 And z = 4 Then
LblMessage.Caption = "GOOD" LblMessage.Caption = "VERY GOOD"
If OptSpade = True And x = 3 And y = 3 And
ElseIf OptDiamond = True And y = 2 Then ElseIf OptSpade = True And x = 2 And
z = 3 Then
LblMessage.Caption = "GOOD" y = 3 And z = 3 Then
LblMessage.Caption = "JACKPOT"
ElseIf OptDiamond = True And z = 2 Then LblMessage.Caption = "VERY GOOD"
Else
LblMessage.Caption = "GOOD" ElseIf OptSpade = True And x = 1 And
LblMessage = "TRY AGAIN"
End If y = 3 And z = 3 Then
End If
LblMessage.Caption = "VERY GOOD"

ElseIf OptSpade = True And x = 4 And


y = 3 And z = 3 Then
LblMessage.Caption = "VERY GOOD"
ElseIf OptSpade = True And x = 3 And y = 2
And z = 3 Then
LblMessage.Caption = "VERY GOOD"
ElseIf OptSpade = True And x = 3 And y = 1 And
z = 3 Then End If Clover1.Visible = False
LblMessage.Caption = "VERY GOOD" End Sub Diamond1.Visible = True
ElseIf OptSpade = True And x = 3 And y = 4 And Spade1.Visible = False
z = 3 Then Private Sub OptSpade_Click() Heart1.Visible = False
LblMessage.Caption = "VERY GOOD" If OptSpade = True Then
End If Clover3.Visible = False ElseIf y = 3 Then
Diamond3.Visible = False Clover1.Visible = False
If OptHeart = True And x = 4 Then Spade3.Visible = True Diamond1.Visible = False
LblMessage.Caption = "GOOD" Heart3.Visible = False Spade1.Visible = True
ElseIf OptHeart = True And y = 4 Then End If Heart1.Visible = False
LblMessage.Caption = "GOOD" End Sub
ElseIf OptHeart = True And z = 4 Then Private Sub OptHeart_Click() ElseIf y = 4 Then
LblMessage.Caption = "GOOD" If OptHeart = True Then Clover1.Visible = False
End If Clover3.Visible = False Diamond1.Visible = False
Diamond3.Visible = False Spade1.Visible = False
If OptHeart = True And x = 4 And y = 4 And Spade3.Visible = False Heart1.Visible = True
z = 2 Then Heart3.Visible = True End If
LblMessage.Caption = "VERY GOOD" End If
ElseIf OptHeart = True And x = 4 And y = 4 And End Sub If z = 1 Then
z = 3 Then Clover.Visible = True
LblMessage.Caption = "VERY GOOD" Private Sub Timer1_Timer() Diamond.Visible = False
ElseIf OptHeart = True And x = 4 And y = 4 And Lbl1.Caption = Int(4 * Rnd()) + 1 Spade.Visible = False
z = 1 Then Lbl2.Caption = Int(4 * Rnd()) + 1 Heart.Visible = False
LblMessage.Caption = "VERY GOOD" Lbl3.Caption = Int(4 * Rnd()) + 1
ElseIf OptHeart = True And x = 2 And y = 4 And
z = 4 Then Dim x, y, z ElseIf z = 2 Then
LblMessage.Caption = "VERY GOOD" Clover.Visible = False
ElseIf OptHeart = True And x = 3 And y = 4 And x = Val(Lbl1.Caption) Diamond.Visible = True
z = 4 Then y = Val(Lbl2.Caption) Spade.Visible = False
LblMessage.Caption = "VERY GOOD" z = Val(Lbl3.Caption) Heart.Visible = False
ElseIf OptHeart = True And x = 1 And y = 4 And
z = 4 Then ElseIf z = 3 Then
LblMessage.Caption = "VERY GOOD" If x = 1 Then Clover.Visible = False
ElseIf OptHeart = True And x = 4 And y = 2 And Clover2.Visible = True Diamond.Visible = False
z = 4 Then Diamond2.Visible = False Spade.Visible = True
LblMessage.Caption = "VERY GOOD" Spade2.Visible = False Heart.Visible = False
ElseIf OptHeart = True And x = 4 And y = 3 And Heart2.Visible = False
z = 4 Then ElseIf z = 4 Then
LblMessage.Caption = "VERY GOOD" ElseIf x = 2 Then Clover.Visible = False
ElseIf OptHeart = True And x = 4 And y = 1 And Clover2.Visible = False Diamond.Visible = False
z = 4 Then Diamond2.Visible = True Spade.Visible = False
LblMessage.Caption = "VERY GOOD" Spade2.Visible = False Heart.Visible = True
End If Heart2.Visible = False End If
End Sub
ElseIf x = 3 Then End Sub
Private Sub OptClover_Click() Clover2.Visible = False
If OptClover = True Then Diamond2.Visible = False
Clover3.Visible = True Spade2.Visible = True
Diamond3.Visible = False Heart2.Visible = False
Spade3.Visible = False
Heart3.Visible = False ElseIf x = 4 Then
End If Clover2.Visible = False
End Sub Diamond2.Visible = False
Spade2.Visible = False
Heart2.Visible = True
End If

Private Sub OptDiamond_Click If y = 1 Then


Clover1.Visible = True
If OptDiamond = True Then Diamond1.Visible = False
Clover3.Visible = False Spade1.Visible = False
Diamond3.Visible = True Heart1.Visible = False
Spade3.Visible = False
Heart3.Visible = False ElseIf y = 2 Then

Potrebbero piacerti anche