Search found 662 matches

by smatovic
Thu Aug 04, 2011 11:52 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: writing an evaluation
Replies: 8
Views: 1438

Re: writing an evaluation

hmm, this table is from blacks point of view,
if white is on B8 => index 54, then it should be mapped to index 9,
this is done by 54^7^56.
forget it, you are right.

--
Srdja
by smatovic
Wed Aug 03, 2011 11:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: writing an evaluation
Replies: 8
Views: 1438

Re: writing an evaluation

{ 0, 0, 0, 0, 0, 0, 0, 0, 50,50,50,50,50,50,50,50, 30,30,30,30,30,30,30,30, 5, 5, 5,10,10, 5, 5, 5, 3, 3, 3, 8, 8, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0,-5,-5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, hmm, this table is from blacks point of view, if white is on B8 => index 54, then it should...
by smatovic
Wed Aug 03, 2011 8:19 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: writing an evaluation
Replies: 8
Views: 1438

Re: writing an evaluation

Hi Lucas, i took a look into your eval.c return PSQTable[phase][piece][color ? sq : sq ^ 070]; not sure, but i think you should "flipflop" the sq for your psq-table instead of XORing with 070 : #define FLIPFLOP(square) (((square)^7)^56) ... return PSQTable[phase][piece][color ? sq : FLIPFLOP(sq)]; ....
by smatovic
Wed Aug 03, 2011 7:39 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: writing an evaluation
Replies: 8
Views: 1438

Re: writing an evaluation

what is the most usefull thing to start adding/testing ?
I suggest to choose a test suite first, for example the Bratko Kopec Test:
Then you can edit your evaluation and see how the changes affect your search.

--
Srdja
by smatovic
Thu Jul 28, 2011 8:58 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: First Post here: I have a few questions...
Replies: 8
Views: 1375

Re: First Post here: I have a few questions...

Welcome to CCC Bill, 1. What is the general idea (logic) for switching game phase evaluation from middle to end? I couldn't find much information about this. I know it has to deal with pieces left and current ply but would like to hear some expert thoughts. I am not an expert, but in an simple evalu...
by smatovic
Thu Jul 28, 2011 8:44 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Zobrist Collisions?
Replies: 27
Views: 3623

Re: Zobrist Collisions?

you can take a look at the Polyglot sample implementation of zobrist hashing:

http://alpha.uhasselt.be/Research/Algeb ... ormat.html

afaik the code is public domain.

--
Srdja
by smatovic
Wed Jul 13, 2011 9:13 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Zeta 0.915 - Developer Release
Replies: 3
Views: 762

Re: Zeta 0.915 - Developer Release

Interesting. Does this mean that it dont recognize castle and ep moves? Right, it doesnt recognize and doesnt produce them. So it could cause to illgegal moves. Does it use minimax search? Yes, i implemented an non-recursive minimax with two while loops which i call "spps". I will maybe join this p...
by smatovic
Wed Jul 13, 2011 7:45 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Zeta 0.915 - Developer Release
Replies: 3
Views: 762

Zeta 0.915 - Developer Release

Heyho, today is the montenegrin Independence Day and i published the Source Code of Zeta under GPL: https://github.com/smatovic/Zeta/tree/zeta_nvidia_0915 Zeta is more a prototype than a real chess engine. It uses only one SIMD Unit of a GPU with 128 Threads, this is enough to achieve about 100 000 ...
by smatovic
Tue Jul 12, 2011 6:05 pm
Forum: Computer Chess Club: General Topics
Topic: Announcement : ChessWar XVII
Replies: 16
Views: 2333

Re: Announcement : ChessWar XVII

After a 2 months break, ChessWar is finally back
+1

--
Srdja
by smatovic
Sun Jul 10, 2011 10:35 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: GPUs better for chess than CPUs?
Replies: 31
Views: 7116

Re: GPUs better for chess than CPUs?

Have you read this paper? No. I can only get to the abstract, so I can't tell if they had a favorable result, but it seems interesting http://www.springerlink.com/content/a74t142qk17527u3/ Interesting, but it seems they got no alphabeta pruning running: "Additionally, it discusses αβ para...