vi posto i codici per giocare a pari e dispari, se interessano
Dispair
Codice PHP:
Dim generator As New Random
       Dim randomValue 
As Integer
       randomValue 
generator.Next(16)
       
TextBox1.Text = (randomValue)
       
Dim A As Integer TextBox1.Text
       Dim B 
As Integer TextBox2.Text
       MsgBox
(B)
       If 
= ("3") Or = ("5") Or = ("7") Or = ("9"Then
           MsgBox
("You" " " "Win")
       Else
           
MsgBox("You" " " "Lose")
       
End If 
Pair
Codice PHP:
Dim generator As New Random
       Dim randomValue 
As Integer
       randomValue 
generator.Next(16)
       
TextBox1.Text = (randomValue)
       
Dim A As Integer TextBox1.Text
       Dim B 
As Integer TextBox2.Text
       MsgBox
(B)
       If 
= ("2") Or = ("4") Or = ("8") Or = ("10"Then
           MsgBox
("You" " " "Win")
       Else
           
MsgBox("You" " " "Lose")
       
End If