This is a very simple game program created by a newbie(me) to simulate the game which you must find the card’s partner using Visual Studio 2010 to test my logic in programming and later on I will be discussing how the codes work, so let me show you first the flow or how the program works.
When you open the application this is the interface of the program and when the cursor goes inside the button the color of the button changes into red and when the cursor goes outside the button it changes back to its color specifically Sky blue.
When you now clicked a button it shows the name of the button or the text on the button and now the user must find its partner button named Dog too. It also shows here that there is a red button which means my cursor is inside the red button and because of the screen shot my cursor hide himself.
Now in Phase 3 it shows that the user clicked the wrong button obviously a Dog is not equal to a Cat and a pop up will show saying Incorrect. As you clicked or entered the OK button in the pop up the name of the buttons will disappear.
Now in Phase 4 it shows that the user clicked first the Cat button below and next chooses the Dog button at the upper portion, so obviously Cat is not equal to Dog again and the pop up will show again saying Incorrect. Again as you clicked or entered the OK button in the pop up the name of the buttons will disappear.
Now in this Phase the user clicked first the lower portion Dog button and next chooses the upper portion Dog button so now they are equal which the pop up saying Correct. Upon clicking the OK button in the pop up the names of the two buttons will not disappear and the buttons will be disabled and cannot be clicked again.
Now here it is, the user clicked the two remaining buttons and both showed equal text on the button. Resulting to disabling all buttons and there will be a pop up again saying Correct and when you entered or clicked the OK button another pop up will show up again saying Game Finished and when you entered or clicked the OK button again makes the application to close totally.