Search found 3002 matches

by lucasart
Mon Dec 13, 2010 11:52 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compiling StockFish
Replies: 15
Views: 2850

Re: compiling StockFish

I suppose you could alternatively tie your engine's build process to a specific IDE. :) Oh no, I want to make an UCI one. Besides, I don't want to go through the pain of doing a GUI. What I need to do is an UCI interface that allows matches between engines in an industralised way. I can't find any ...
by lucasart
Mon Dec 13, 2010 11:42 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compiling StockFish
Replies: 15
Views: 2850

Re: compiling StockFish

And an attempt to explain make: Stockfish's Makefile includes a lot of code to decide on compiler flags. Yet its core job is simple: build each object after its dependencies. It differs as follows from a "g++ [flags] *.cpp" command: * It compiles the source files, separately, until it has up-to-dat...
by lucasart
Mon Dec 13, 2010 11:31 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: displaying the PV
Replies: 19
Views: 2845

displaying the PV

Hello, I'm currently writing a chess engine. The search itself seems to work, but can't figure out how to display a PV line accurately. Typically the first few moves of it look good, and then I get some illegal moves, probably those envisaged in other variations, that have not been cleaned up. Here'...
by lucasart
Sun Dec 12, 2010 3:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: writing a chess engine
Replies: 11
Views: 3941

Re: writing a chess engine

Do not use a super simple eval. Most of the margins you will use in your search will be completely misleading. In Chess programming wiki there is one description of how to make a minimalistic eval that may not be too incomplete. Miguel Oh yes, that's true. For now my razoring and IID use margins ba...
by lucasart
Sun Dec 12, 2010 3:33 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: writing a chess engine
Replies: 11
Views: 3941

Re: writing a chess engine

michiguel wrote: Implement an epd test function, and you can change you test set anytime. Besides, it has other important functions.
Miguel
Oh yes, that's true. For now my razoring and IID use margins based on the static eval... I'll have a look and makr a simple eval.
by lucasart
Sun Dec 12, 2010 2:47 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Puzzle with mate scores in TT
Replies: 41
Views: 8819

Re: Puzzle with mate scores in TT

My engine has two compile-time options for treating mate scores in the TT. 1. Standard adjustments for ply. Reading from TT: if ( score > MATESCORE - MAXPLIES ) score -= ply; else if ( score < -MATESCORE + MAXPLIES ) score += ply; Saving in TT: if ( score > MATESCORE - MAXPLIES ) score += ply; else...
by lucasart
Sun Dec 12, 2010 2:14 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: writing a chess engine
Replies: 11
Views: 3941

Re: writing a chess engine

In this case you should remove at least 2 names from the list of gurus (one being myself) :-) Don't be hard on yourself. I know that Glaurung already had all the main features when you started StockFish. But I also know that your improvements on StockFish were significant and non trivial (ie. not j...
by lucasart
Sun Dec 12, 2010 1:28 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Best engine for greater than 8-core SMP system
Replies: 40
Views: 8329

Re: Best engine for greater than 8-core SMP system

I've done a fair share or research trying to find engines that can use more than 8 cores. Crafty and a couple of crafty's offspring are the only world-class engines that I can find for such hardware. And what do you want to do with more than 8-cores ? You should also note that StockFish is probably...
by lucasart
Sun Dec 12, 2010 12:38 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: writing a chess engine
Replies: 11
Views: 3941

writing a chess engine

Hello everyone, I am currently writing a chess engine in C++, and thought I should share some ideas, and ask for some guidance from those chess programming gurus like Robert Hyatt, Tord Romstad, Marco Costalba, Robert Houdart, and surely many others I don't know or forgot to mention. At the moment i...
by lucasart
Sun Dec 12, 2010 11:47 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compiling StockFish
Replies: 15
Views: 2850

Re: compiling StockFish

Sorry, my mistake. I must have modified accidentally modified the source before compiling. I re-downloaded a fresh copy of it and ran make build ARCH=x86-32 > err.log *** erro.log *** make ARCH=x86-32 COMP=gcc config-sanity make[1]: Entering directory `/home/lucas/Downloads/src' Config: debug: 'no' ...