Reply to comment

I will be happy to share....

Sorry it took so long to reply - doing lots of other things I'm happy to say. I still play dozens of boards a day though. Only at "Hard" level though, I can't quite make the jump to "Very Hard".

How do I share? Do you want me to post the project to you?

I am not only a newbie to C# and VS2008, I have no idea how to send the code to you without an email address.

Apart from hard wiring some options, removing other options, changing the display etc I haven't really touched the generation and "difficulty setting" routine. Just commenting out the symmetry in the "generation routines" seems to reduce the delay.

I will be happy to send the code to you as it is basically yours anyway. It is only as a result of your releasing the code that I have been able to play with it. Thank you :)

I suspect my improvement in times was a result of removing diagnals, squigly, symmetry and hard wiring the board to 9X9. I NEVER play any other size so don't need them.

I can replace the generation code but that would only remove a couple of seconds (average) off the generation time. As I said (and you no doubt know) the real delay is in the "Set Difficulty" routine and I haven't been able to find a faster set difficulty routine in all my searches and user forums I posted help requests in.

Tell me how I can get the code to you :)

Louis

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.