It can be divided into simulated printing minefield and winform in the consoleProgram.
Fortunately, I wanted to go onlineAlgorithmFor reference, I still had to endure it, and I was forced to squeeze it out.
Haha, fortunately, it is purely original.
The minesweeping solution and minesweeping solution have only Min.The esweepingxp project has been modified. The difference is that before the change, all the operations for mine clearance should be judged in the controls of "Ray". I cannot see it myself,I tried to extract it. Otherwise, I would continue to call the parent control in the underlying object to get rid of the object-oriented concept.In this way, I am going crazy ..... After the change, the minefield is directly set to enable = false, and then the mine is determined by coordinates.CodeStill a bitChaos, such as "this "...
Most of the functions are implemented, but the performance is very low. There are also many bugs. The winform algorithm is different from the console algorithm.The middleware is not important. The minesweeping project was the first to be made. The pictures I drew myself are also very big, and they are very good people. Next, simply re-createThe imitation, hand-cut all the win mine clearance images and make the materials by yourself. The electronic clock is painted in Flash CS3 and then exported.
GDI ...? I don't understand --#. Well, only textures are supported.
Some of the functions were not implemented, and the conditions for victory lacked several judgments. I did not proceed. I should learn more basics first...
Console output
Winform90% similarity to the self-contained mine clearance in Windows
It is much clearer and more reasonable than previous versions.
Function:
Starting stage, elementary, intermediate, advanced, custom, and hero list
Beginner, intermediate, and advanced cracking records will be listed on the hero list
Record game settings for the last Shutdown
(The above functions are the same as those provided by the system for mine clearance)
(The data is recorded in an XML file, but I changed the extension to DLL. Under Debug)
All functions of mine clearance should be available. The missing functions may be:
1. The conditions for victory are not fully judged (for example, when the remaining unopened Referer grids are all thunder, they should be victory)
2. Press the left and right keys and move the mouse at the same time. The algorithm here is too slow and there will be a drag-and-drop. When you release the mouse, you should not respond to the mouse up event again.
3. Next to the chess piece, double-click the left and right keys to enable the thunder function. This function is said by a friend and cannot be used --.
4. Many bugs in the left and right keys...
5 ....
Download source code and Materials
I am a beginner and have never touched on algorithms.
Some things may be very wrong. Please advise :)