Dear all,
I got stuck in doing my project.
I am writing a Minesweeper program in vb 2010 Express.
In this game, "heart" are given if the user unluckily press the button with a mine. In the challenge level, user will be given 2 heart.
If the user has used up two hearts and he press the button with mine again, he will lose.
However, when I start debugging, I discovered that the heart remain in 1 when I press the mine for the second time. User will get 10 score when he press the one without mines.
I have tried to make a Do-loop-until and if then else statement but it doesn't work, also with the score calculation.
I have set the score as a global variable and I would like to inset it in to my access database.
This is my program which hasn't finish. I will add the timer afterwards.
If you get anything that you do not understand, feel free to rise it in the comment and I will try to answer it in order let you know what I am asking. (as I know my English is poor.)
https://drive.google.com/file/d/0ByMd9-QgWm4LRjd0RkI4T0xINlU/view?usp=sharing[
^]