VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



a piece of code for a game

by Nithya (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 15th December 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

a piece of code for a game

Rate a piece of code for a game




Image1.Visible = False
Label1.Caption = Int(Rnd * 10)
Label2.Caption = Int(Rnd * 10)
Label3.Caption = Int(Rnd * 10)
If (Label1.Caption = 7) Or (Label2.Caption = 7) Or (Label3.Caption = 7) Then
Image1.Visible = True
Beep
End If

End Sub

Private Sub Command2_Click()
    End
End Sub

Private Sub Form_Load()
    Randomize
End Sub


Download this snippet    Add to My Saved Code

a piece of code for a game Comments

No comments have been posted about a piece of code for a game. Why not be the first to post a comment about a piece of code for a game.

Post your comment

Subject:
Message:
0/1000 characters