Search found 12 matches

by pascaljunq
Fri Dec 12, 2008 12:13
Forum: Draughts, Computer, Internet
Topic: Perft
Replies: 256
Views: 218835

Very Clear

Thx
by pascaljunq
Tue Dec 09, 2008 22:00
Forum: Draughts, Computer, Internet
Topic: Perft
Replies: 256
Views: 218835

gerard,

is it possible to capture two different sets of pieces that have the same size with a draught (avec un pion) from the same initial square to the same final square ?

Rein proved (with previous diagram) that it is possible with a king

Pascal
by pascaljunq
Tue Dec 09, 2008 21:33
Forum: Draughts, Computer, Internet
Topic: Perft
Replies: 256
Views: 218835

Hi Rein,

Very clear.

is it possible to capture two different sets of pieces that have the same size with a draught ?

Pascal
by pascaljunq
Tue Dec 09, 2008 19:39
Forum: Draughts, Computer, Internet
Topic: Perft
Replies: 256
Views: 218835

Gérard,

I 'd like to refine my question :

In my move generator recursive procedure, after calculating a move, I check if it's a duplicate move. To do that, i check if a previous move was find with same "initial square" and same "final square" and same captured count.

Is it correct or may I also ...
by pascaljunq
Tue Dec 09, 2008 19:07
Forum: Draughts, Computer, Internet
Topic: Perft
Replies: 256
Views: 218835

Ed,

I tried your postion and results are :

perft : 1 Nodes : 14
perft : 2 Nodes : 55
perft : 3 Nodes : 1168
perft : 4 Nodes : 5432
perft : 5 Nodes : 87195
perft : 6 Nodes : 629010
perft : 7 Nodes : 9041010
perft : 8 Nodes : 86724219
perft : 9 Nodes : 1216917193

Is it correct ?

Pascal
by pascaljunq
Mon Dec 08, 2008 22:11
Forum: Draughts, Computer, Internet
Topic: Perft
Replies: 256
Views: 218835

Ed,

I try to remove duplicates move but it sounds not good.

For a position, duplicate moves are moves with same "initial square" and same "end square".

is it true ?

if not, could you give me an example please.

Pascal
by pascaljunq
Mon Dec 08, 2008 01:31
Forum: Draughts, Computer, Internet
Topic: Perft
Replies: 256
Views: 218835

Gerard,

I have fix the bug !

The issue was in make procedure in case of loop (ie 22x22).
Thank you very much for your help.

Pascal
by pascaljunq
Mon Dec 08, 2008 00:59
Forum: Draughts, Computer, Internet
Topic: Perft
Replies: 256
Views: 218835

Gerard,

you are right, 7 is the nodes for perft 2

After 25-20 24-15 33-29 18-22 29x20 22x22

Perft2 20-14 nodes 1
Perft2 30-25 nodes 1
Perft2 30-24 nodes 1
Perft2 32-28 nodes 1
Perft2 32-27 nodes 2
Perft2 34-29 nodes 1
perft2 sum 7 (instead of 9)

Have a good night

Pascal
by pascaljunq
Sun Dec 07, 2008 23:59
Forum: Draughts, Computer, Internet
Topic: Perft
Replies: 256
Views: 218835

Hi gerard

After 25-20 24-15 33-29 18-22 29x20

next is 22x22 with 7 nodes

maybe 22x22 is not allowed then correct are 22x31 and 22x33

do you confirm ?

Sorry if you have spend a lot of time but i am a beginner !

Thx

Pascal
by pascaljunq
Sun Dec 07, 2008 22:25
Forum: Draughts, Computer, Internet
Topic: Perft
Replies: 256
Views: 218835

Hi Gerard,

One step again :

after 25-20 24-15 33-29

Perft5 12-17 nodes 159
Perft5 14-20 nodes 113
Perft5 15-20 nodes 119
Perft5 18-22 nodes 25
Perft5 19-24 nodes 34
Perft5 26-31 nodes 31
perft5 sum 481 (instead of 483 !)

Thx for your help !

Je suis à la limite de la crise de nerf !

Pascal
by pascaljunq
Sun Dec 07, 2008 21:48
Forum: Draughts, Computer, Internet
Topic: Perft
Replies: 256
Views: 218835

Thank you Ed,

I need your help again !

My output after 25-20 :

perft : 1 Nodes : 2
perft : 2 Nodes : 12
perft : 3 Nodes : 34
perft : 4 Nodes : 100
perft : 5 Nodes : 301
perft : 6 Nodes : 955
perft : 7 Nodes : 2825 (instead of 2827 !)

by ply :
Perft7 14-25 nodes 319
Perft7 24-15 nodes 2506
perft7 ...
by pascaljunq
Sun Dec 07, 2008 17:52
Forum: Draughts, Computer, Internet
Topic: Perft
Replies: 256
Views: 218835

Hi,

I try my move generator and something is wrong for woldouby position :
perft : 1 Nodes : 6
perft : 2 Nodes : 12
perft : 3 Nodes : 30
perft : 4 Nodes : 73
perft : 5 Nodes : 215
perft : 6 Nodes : 590
perft : 7 Nodes : 1944
perft : 8 Nodes : 6267

for perft8, I obtain 6267 instead of 6269

by ...