I think there is a typo here. Should be 493,407,574JVMerlino wrote:Indeed. When you can do ALL of these correctly, then you can pretty safely say that your movegen is accurate:
8/3K4/2p5/p2b2r1/5k2/8/8/1q6 b - - 1 67 // perft(7) = 493,407,547
Insanely buggy move generator, please help
Moderators: hgm, Rebel, chrisw
-
- Posts: 697
- Joined: Mon Apr 19, 2010 7:07 pm
- Location: Sweden
- Full name: Peter Osterlund
Re: Insanely buggy move generator, please help
-
- Posts: 83
- Joined: Mon Mar 24, 2014 12:26 am
- Location: Glen Carbon, IL USA
Re: Insanely buggy move generator, please help
I agree, my engine says:petero2 wrote:I think there is a typo here. Should be 493,407,574JVMerlino wrote:Indeed. When you can do ALL of these correctly, then you can pretty safely say that your movegen is accurate:
8/3K4/2p5/p2b2r1/5k2/8/8/1q6 b - - 1 67 // perft(7) = 493,407,547
Test Complete : 493407574 nodes visited
-
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Insanely buggy move generator, please help
My perft concurs, 574 not 547:jsgroby wrote:I agree, my engine says:petero2 wrote:I think there is a typo here. Should be 493,407,574JVMerlino wrote:Indeed. When you can do ALL of these correctly, then you can pretty safely say that your movegen is accurate:
8/3K4/2p5/p2b2r1/5k2/8/8/1q6 b - - 1 67 // perft(7) = 493,407,547
Test Complete : 493407574 nodes visited
Code: Select all
louis@LZsT5610:~/Documents/Chess/Kirby$ ./perft_pa
FEN string = 8/3K4/2p5/p2b2r1/5k2/8/8/1q6 b - -
Depth = 7
Leaf nodes = 493407574
Time taken = 9114 ms
-
- Posts: 1357
- Joined: Wed Mar 08, 2006 10:15 pm
- Location: San Francisco, California
Re: Insanely buggy move generator, please help
Yep, typo. Combined with a bit of dyslexia it's amazing my engine works at all!petero2 wrote:I think there is a typo here. Should be 493,407,574JVMerlino wrote:Indeed. When you can do ALL of these correctly, then you can pretty safely say that your movegen is accurate:
8/3K4/2p5/p2b2r1/5k2/8/8/1q6 b - - 1 67 // perft(7) = 493,407,547
Thanks
-
- Posts: 4052
- Joined: Thu May 15, 2008 9:57 pm
- Location: Berlin, Germany
- Full name: Sven Schüle
Re: Insanely buggy move generator, please help
Please check your PM.vittyvirus wrote:Here's what it generates for white:
-
- Posts: 646
- Joined: Wed Jun 18, 2014 2:30 pm
- Full name: Fahad Syed
Re: Insanely buggy move generator, please help
I'm sorry, but I seriously can't reply you on PM.Sven Schüle wrote:Please check your PM.vittyvirus wrote:Here's what it generates for white:
"No such user exists"
Would you mind if I'd reply you here?
-
- Posts: 4052
- Joined: Thu May 15, 2008 9:57 pm
- Location: Berlin, Germany
- Full name: Sven Schüle
Re: Insanely buggy move generator, please help
Well, it seems I do exist ... Don't reply to my PM here, please. Maybe the admin Sam Hull can help you to find out why replying to my PM does not work for you.vittyvirus wrote:I'm sorry, but I seriously can't reply you on PM.Sven Schüle wrote:Please check your PM.vittyvirus wrote:Here's what it generates for white:
"No such user exists"
Would you mind if I'd reply you here?
-
- Posts: 83
- Joined: Mon Mar 24, 2014 12:26 am
- Location: Glen Carbon, IL USA
Re: Insanely buggy move generator, please help
Have not heard from you much regarding your engine lately. How are things going? Have you tested your move generator and squashed the bugs?
-
- Posts: 1334
- Joined: Sun Jul 17, 2011 11:14 am
Re: Insanely buggy move generator, please help
Haven't heard much from him either. He was interested in working with me, so I sent him what little code I had, and asked him to write a FEN parser for it, because the ones I had written were buggy, and didn't work. That was 10 days ago. Haven't seen any progress from him since then.jsgroby wrote:Have not heard from you much regarding your engine lately. How are things going? Have you tested your move generator and squashed the bugs?
Matthew:out
Some believe in the almighty dollar.
I believe in the almighty printf statement.
I believe in the almighty printf statement.
-
- Posts: 7221
- Joined: Mon May 27, 2013 10:31 am
Re: Insanely buggy move generator, please help
Maybe he's studying LALR(1) grammar's.