Search found 634 matches

by Desperado
Sat May 30, 2009 1:47 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Problems with this position
Replies: 36
Views: 6790

Re: Problems with this position

this little pseudo code is doing the job, also with selective search exceptionally nullm-prun.(used this for startup-evaluation for my last engine) bdi is just the board-distance (squaredistance). (this may be improved of course, but is simple and works... if(winner==WHITE) { pwn = bsf6...
by Desperado
Sat May 30, 2009 1:26 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Problems with this position
Replies: 36
Views: 6790

Re: Problems with this position

Hi again,

try this...

PENALTY the king the lower the rank distance between king and pawn is:

ex: king rank e2 pawn e4 -> -2 rank
if king is 1,2,3 in front penalty should switch to bonus!

important. weight this feature higher then pushing the passed pawn...

good luck again
by Desperado
Sat May 30, 2009 12:19 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Splitted MAGICS
Replies: 11
Views: 2115

Re: Splitted MAGICS

hey aleks,

i have red the artical about the Kindergarten-BB. Now i begin
to understand.Nice,tricky,simple... i have to resort my brain :-) and think
about some details.
by Desperado
Sat May 30, 2009 11:44 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Splitted MAGICS
Replies: 11
Views: 2115

Re: Splitted MAGICS

in your case 4*64 +
"4" if like you say magicnumber/direction

on chesswiki "1" mconst shared for 3 directions...
by Desperado
Sat May 30, 2009 11:27 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Splitted MAGICS
Replies: 11
Views: 2115

Re: Splitted MAGICS

hm, i have to think about this, but my first impression is this: if i undestand right you have: 4xdirectionmask[sq] * 64 squares + 1xmconst = 4*64 + 1= 257 numbers ?! correct? while if i look above , i would have 1xalldirectionmask[sq] * 64 squares + 64 * 2xm_direction_const = 64 + 64*2 = 192 number...
by Desperado
Sat May 30, 2009 9:35 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Splitted MAGICS
Replies: 11
Views: 2115

Re: Splitted MAGICS

hi aleks, yes i did :-)
by Desperado
Sat May 30, 2009 9:33 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Splitted MAGICS
Replies: 11
Views: 2115

Re: Splitted MAGICS

ok here are the first numbers (not optimal of course yet). I decided to split the directions in rook (nn-ss) rook (ww-ee) bishop(nw-se) bishop(ne-sw) the occupancy bits for the magicfunction are the "inner6-masked" + "square" itself. squarecode: a1=0...h8=63 ROOK: NN & SS SQUARE a1 -> SHIFT: 6 MNMB:...
by Desperado
Fri May 29, 2009 4:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Splitted MAGICS
Replies: 11
Views: 2115

Re: Splitted MAGICS

yes, i am testing at the moment. i will validate the magics til tomorrow, normally there shouldnt be a problem, because the same stuff as for normal magics. more details tomorrow, unfortunalety i have no time at the moment. (one thing for now... (occ*mgc)>>(64-n) : occupancy is the same occupancy as...
by Desperado
Fri May 29, 2009 1:05 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Problems with this position
Replies: 36
Views: 6790

Re: Problems with this position

Hi Fermin, try to switch of any selection in the search(futility,nullmove,lmr...). Trans and alphbeta should be enough for solving the position(finding the promotion at least). Second, you may test first the following position w: Ke6,Pe5 b: Ke8... if this works well put white king and pawn back, ran...
by Desperado
Fri May 29, 2009 12:28 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Splitted MAGICS
Replies: 11
Views: 2115

Splitted MAGICS

Hi everyone! PLS correct me if i misunderstood sth. LITLLE SUMMARY MAGIC-MGEN (just for me :-) ): ============================================== main advantages: - simultaneously generating 4 directions - quick access to precomputed tables containing the moves(attacksets), by using hashfunction like...