hi, im using microsoft visual studio to make a game the game consists of a random number generator which ive completed and is working fine, when it generates a 7 a message tells you that you have a lucky seven, you get five goes at this then a message tells you that the game is over, all of this is working fine, my problems started when i tried to include a play again button that allows the user to have another five goes, ive got the button included in the form but dont know what code i should use so that it allows the user to play again, sorry if ive been kind of vague here but im new to all this, any help would be gratefully apprieciated, thanks
ian.murray.33821
0
Newbie Poster
Recommended Answers
Jump to PostI don know what are you doing till the user gets a "Game Over"
Are you summing up the points? If so when the user gets a "Game Over" or the user's 5 "go"s are over.
1. Just display the user's points in a message box.
2. Disable the generator …
All 3 Replies
samsylvestertty
12
Newbie Poster
AndreRet
commented:
Well explained.
+12
ImZick
0
Posting Whiz in Training
ian.murray.33821
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.