Nice explanation!! Love your videos !!! You help me out a lot.
@mooict2 жыл бұрын
Thank you.
@sideral094 ай бұрын
Hello, thanks for the tutorial, it was very helpful. I don't know if you'll see this, but if I want the cards that don't match to go back down again, how do I do it? They only disappear if you click again.
@chicongvu6492 жыл бұрын
Thanks !! This is really helpful
@mooict2 жыл бұрын
You're welcome ☺️
@dipeshpatil49682 жыл бұрын
But if I match all my pictures before time up after that still time is running in game Something is wrong Please tell me
@mooict2 жыл бұрын
Inside of the check pictures function the last if statement will check if all of the picture boxes tag has been reset and then it will run the game over function. Check if yours is doing the same. In the tutorial it's line 177.
@jks41372 жыл бұрын
I'm getting the same thing. Is there any solution on how to.solve it.
@adityapratapsingh23732 жыл бұрын
@@mooict Still I'm getting the same
@adityapratapsingh23732 жыл бұрын
@@jks4137 Did you solve it?? please tell me
@adityapratapsingh23732 жыл бұрын
Can please tell me how did u solve this problem... Please it would be really big help.
@knh64322 жыл бұрын
thank you! but one thing that u didn t tell in video,what the libraries you use there?What do they do?
@mooict2 жыл бұрын
There are no external libraries for used in this tutorial. We are using all C# in .Net Win Forms
@knh64322 жыл бұрын
@@mooict that meens that if i delete them,code will work without libraries?Couse i cleared them and code works
@icanghana64772 жыл бұрын
Thank you very much MOOICT @mooict #mooict your videos are really helping to understand c# and windows forms.
@rafaelrodriguez5577 Жыл бұрын
I have the System.IO.FileNotFoundException problem, I don't know if it has to do with the fact that I use VS 2012, but in the same way, I follow the steps perfectly
@mooict Жыл бұрын
Hi, this error is happening because the program cannot find the files from the code. Can you check if you added the files same as the tutorial.
@dowajuseyo2 жыл бұрын
thanks for the tutorial! i’m following your channel for quite awhile now & i’m learning so much. i‘m trying to implement more levels of this game (easy, medium, hard) i copied the exact codes from your src code for the medium & hard levels but some of the pictures are not appearing whenever i click the cards. please help!! really appreciate it ! ❤
@mooict2 жыл бұрын
Hi, Im glad you're enjoying my videos. As long as the pictures are liked to the picture box and the folder structure is the same, it should load the images from the folder. picA.Image = Image.FromFile("pics/" + (string)picA.Tag + ".png"); If you look at this line here, its simply using the folder name "pics" to load the images from inside of it. So for your levels if you have given it a different directory make sure the folder is in the same directory as the exe file in the debug folder. Hope this helps.
@dowajuseyo2 жыл бұрын
@@mooict oh this is the video i’m talking about wherein i used the src codes you provided: kzbin.info/www/bejne/Z4fLkJWredqsd9E (i supposed to post my comment there, sorry for that!) i’m wondering why some of the pictures won’t appear in the other levels once clicked. thank u so much for replying!!
@kalyanikoli25252 жыл бұрын
@@dowajuseyo can you help me with this code...m also doing the same game project...m also adding levels in it..
@emilyurpeth61272 жыл бұрын
My lblStatus.Text = “Mismatched: “ + tries + “ times.”; Line is saying exception thrown, object reference is not set to an instance of an object, lblStatus was null. Please help!
@mooict2 жыл бұрын
Check in the properties of the lblStatus is name of the label.
@emilyurpeth61272 жыл бұрын
@@mooict will do! Is there a way to change the grid so it is 6x6 or is it set as it is? Thanks for your help! Great video 😊
@mooict2 жыл бұрын
Hi, glad you liked the video. Rows and Columns are being placed in the load pictures functions. Inside of the for loop change the numbers around for example I have 12 boxes so I am looping it 12 times, if you want more you can increase that number to 36. Also look at the ROWs thats being set in the function. That can be increased to 6 if you need 6x6 in the game. Hope this helps.
@SLEEPYTIMENOW2 жыл бұрын
having a nullability problem with NewPic_Click
@alexanderstensson7317 Жыл бұрын
did u fix this?
@user-pv1rv9fw2o Жыл бұрын
I have to do this but with buttons? Is that possible?
@Dorniotos Жыл бұрын
it says it does not find my png file even tho I am sure it is correct.pls help
@M1k_d02 жыл бұрын
I'm not sure if you're able to respond but I've done step by step (From what I believe, I will do it 3 times over once I'm done this comment) but when I click, it does not hide again and the scores does not display
@mooict2 жыл бұрын
Hi, it’s hard to say without seeing your source code but here’s the GitHub repo for the project github.com/mooict/C-Picture-Matching-game-Tutorial-on-Net-5 see if yours is the same or download and run this project from there. Hope it helps.
@M1k_d02 жыл бұрын
@@mooict Heya, thanks for the response, I tried clicking the github link and log in but unfortunately, it's labeled as "Page not found"
@M1k_d02 жыл бұрын
@@mooict on a side note, the whole code works now as I was able to clarify the error but what doesn't work is the part where I got it all finished but the message doesn't show.
@mooict2 жыл бұрын
@@M1k_d0 Hi, sorry about that, the link is now fixed, you should be able to access the project files there.
@sbumduak47375 ай бұрын
Please help me the pictures are not randomising
@darahughes3542 жыл бұрын
When I try to click one of the boxes I get an error message saying System.IO.FileNotFoundException. I’ve transferred my file into the solution explorer and it isn’t working. Please help
@mooict2 жыл бұрын
Place the pictures to bin - debug - net5 windows folder. The folder is called “pics”.
@darahughes3542 жыл бұрын
@@mooict I tried that but it still says file not found. My file is called pics and each image in the file is called 1.png 2.png etc and it doesn’t work
@mooict2 жыл бұрын
@Dara Hughes are the files placed in the same directory as the EXE file? The line that gets the pictures from the folder is this one - picA.Image = Image.FromFile("pics/" + (string)picA.Tag + ".png"); you can see that the pics folder needs to be in the same directory as the exe file.
@Kifka-a2 жыл бұрын
Hey do you have any idea of how to move a picturebox in a circle by itself? in c# i dont really find stuff on the web
@ryyhem30232 жыл бұрын
i found that the pictuers didn't shown on the game where is the problem ?
@mooict2 жыл бұрын
Hi, the pictures are being loaded from an external folder. Can you check if downloaded and extracted them to the pics folder inside of the debug directory as shown in the tutorial.
@ryyhem30232 жыл бұрын
@@mooict Thank you
@karacasiirleri29212 жыл бұрын
hello teacher, I have a project the subject of my project is a game of finding geometric shapes and magic shapes, that is, combining shapes and creating a new shape game, I need to do this on the c# console, can you help me i really need it very much thank you
@merivardanyan52742 жыл бұрын
Numbers.RandomList doesn't work((
@mooict2 жыл бұрын
I didn’t use a numbers variable for this tutorial. Could you check the source code on the link below the video.
@merivardanyan52742 жыл бұрын
I have solved it, thank you Now i have another issue,when I win, the time still goes down to 0 and shows that I lost
@stayrawan4882 жыл бұрын
The timer goes so fast why?!!
@mooict2 жыл бұрын
Check the interval in the timer properties. It should be set to 1000