Basic guess the number game!
Basic guess the number game!
Rate Basic guess the number game!
(2(2 Vote))
'I am a 12 year old kid who sits at his computer all day
'you will need: 1 textbox, 1 label(optional), and 1 command button.
'make the textbox name "txtnumber"
'make the command button name "cmdguess"
'if you have a label name it "labeloutcome"
'paste this code into the command button
dim intpress as integer
If txtnumber.text = "3" then
Labeloutcome.caption = "Great job!"
Else
MsgBox "Nope!"
end if
end sub
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
= This is your basic guess the number game!!!!!! have fun +
+ with it! =
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Basic guess the number game! Comments
No comments yet — be the first to post one!
Post a Comment