Search found 85 matches

by whittenizer
Sat Mar 03, 2012 4:07 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish port to C#
Replies: 14
Views: 2080

Stockfish port to C#

Hi all, Just wanted to let you all know the entire code base for Stockfish has been ported over to C#. It's bringing back moves but the performance is insanely slow. There were alot of areas where no direct conversions were possible so work arounds were implemented such as for the pointer arithmetic...
by whittenizer
Mon Feb 13, 2012 10:14 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish Invalid Moves
Replies: 3
Views: 613

Re: Stockfish Invalid Moves

Alright, I can see this then. Thanks for your input. I was running this in console mode so no safe guards there. In the last version I modified the code to cout a message of "Invalid Move". At least I knew how to handle it better. The latest version makes it a bit harder to do this as the code looks...
by whittenizer
Mon Feb 13, 2012 8:52 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish Invalid Moves
Replies: 3
Views: 613

Re: Stockfish Invalid Moves

Alright, I had misinterpreted what the engine was doing. Its close but here is a different position I tested with: position startpos moves e2e4 c7c5 g1f3 f8e7 Now, black has just moved, mind ya an invalid move, but the engine replies with a new black move of "d7d6". So, it appears as though whatever...
by whittenizer
Mon Feb 13, 2012 5:39 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish Invalid Moves
Replies: 3
Views: 613

Stockfish Invalid Moves

Hi there, I'm working with the latest version of the code, and noticed something while testing. If enter a move as in "f8e7" without first having moved the "e7" pawn, I would think this would error out but the move I get back is "e7e6". But it doesnt have to be this particular move, any move that is...
by whittenizer
Wed Feb 01, 2012 6:10 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish Conversion to C#
Replies: 2
Views: 664

Re: Stockfish Conversion to C#

Hi, I really enjoy working with Stockfish so I really want to maintain it best I can in C#. I know a conversion will not be as strong as C++ but if the port to C# carries over as much as possible from Stockfish then I believe it will still be very strong even for a Silverlight app.

Thanks
by whittenizer
Tue Jan 31, 2012 7:28 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish Conversion to C#
Replies: 2
Views: 664

Stockfish Conversion to C#

Hi all, I had initially started this for my Silverlight project but decided it was too much for me to handle so I'm thinking about having it outsourced. I have read the licensing, and from what I understand, I should be able to do this. However, before I do, I just wanted to double check in case I m...
by whittenizer
Fri Jan 13, 2012 8:16 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Setting Hash value Issue
Replies: 4
Views: 613

Re: Setting Hash value Issue

Very good explaination. I'll do just this then.

Thanks much,

David
by whittenizer
Fri Jan 13, 2012 6:26 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Setting Hash value Issue
Replies: 4
Views: 613

Re: Setting Hash value Issue

Interesting. I did mention that I set it to 1024 with no issues so I guess that should do it. I'll try to get as close to 2000 to see how it behaves. It's funny though I can run it at 2048 as a console app, and via Arena, but via my app, it times out. It has to be something with my WCF service, just...
by whittenizer
Fri Jan 13, 2012 4:38 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Setting Hash value Issue
Replies: 4
Views: 613

Setting Hash value Issue

Hi again, My silverlight project is really coming along thanks to all of you. I understand about the movetime and depth alot better now. Anyways, I read somewhere that one should try to set the hash value as high as possible, typically half of the total amount of memory onboard. I happen to have 6GB...
by whittenizer
Tue Jan 10, 2012 6:42 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Depth vs playing strength
Replies: 6
Views: 1215

Re: Depth vs playing strength

Hi there, Thanks for the info. Yeah, I'm playing around with a strength option in my silverlight UI and trying to figure out how to accurately calculate the strength based off of options I pass in with the "go" command. I'm going to leave the default strength of "100" as is but I'll play around with...