Southperry.net
ITT: My Mine Sweeper Project. - Printable Version

+- Southperry.net (https://www.southperry.net)
+-- Forum: Social (https://www.southperry.net/forumdisplay.php?fid=14)
+--- Forum: Rubik's Cube (https://www.southperry.net/forumdisplay.php?fid=58)
+--- Thread: ITT: My Mine Sweeper Project. (/showthread.php?tid=35305)

Pages: 1 2


ITT: My Mine Sweeper Project. - Unauthorized Intruder - 2011-01-11

Decided to restart the project again today, because it seemed I have to redo half of my old project just to change from using for loop to using sender to identify the selected object.

Amazed at how fast I can do it this time, I used only 5 hours to get back to where I stopped in old project and can go beyond than that.

Now I'm stuck at putting number around mines which I'm pretty sure it's from logic error. I think I can handle logic errors by myself. Besides, I don't want to give you headache helping me solve these errors.


ITT: My Mine Sweeper Project. - Unauthorized Intruder - 2011-01-13

Another update:

Game can now actually play. I want to know 2 things.

1. how to convert from string value to int value. Specifically, reading string value from file, which is already in integer form.
2. How to raise an event when left mouse and right mouse button are clicked at the same time.


ITT: My Mine Sweeper Project. - Spaz - 2011-01-13

1. int.Parse()/int.TryParse()

2. You have to detect when the left and right buttons are held down separately and use that information to decide when both buttons are down at the same time. See this stack overflow question of someone also making a Minesweeper clone.