quote:
Originally posted by Mnjul
Yep that's right, [o] does it...
If the highest chance is not over 50% (you can set it in Games\Options) [o] just randomly opens one
If you like, I can post my source code of the original MineSwee+ in C++ (It's mess and unorganized all in all, and you'll wonder why I use class and even use an inheritance)
Well it still has a better chance of winning if it always goes for the highest chance... maybe that's why 0% is so hard, but that depends on your code working out the probability of squares with nothing special adjacent to them to compare a random shot with.
I wouldn't be able to use the source code anyway, I don't have VC++ and don't know C++
I can understand you using classes though, that's how I did it