Version 1.9 has been released on github. https://github.com/abulmo/Dumb/releases/tag/v1.9
A few bugs have been corrected (time loss using Fischer time control) and some enhancements.
Have fun with it...
A complete 1200 lines of code engine (Dumb 1.4)
Moderator: Ras
-
- Posts: 469
- Joined: Fri Dec 16, 2016 11:04 am
- Location: France
- Full name: Richard Delorme
Re: A complete 1200 lines of code engine (Dumb 1.9)
Richard Delorme
-
- Posts: 1442
- Joined: Sat Jul 21, 2018 7:43 am
- Location: Budapest, Hungary
- Full name: Gabor Szots
Re: A complete 1200 lines of code engine (Dumb 1.9)
Thanks Richard.abulmo2 wrote: ↑Tue Mar 08, 2022 4:23 pm Version 1.9 has been released on github. https://github.com/abulmo/Dumb/releases/tag/v1.9
A few bugs have been corrected (time loss using Fischer time control) and some enhancements.
Have fun with it...
Gabor Szots
CCRL testing group
CCRL testing group
-
- Posts: 915
- Joined: Sun Dec 27, 2020 2:40 am
- Location: Bremen, Germany
- Full name: Thomas Jahn
Re: A complete 1200 lines of code engine (Dumb 1.4)
Dumber and Dumb have been sparring partners for my engine(s) since a long time now! Great ELO per line of code ratio! I have a lot of sympathy for that approach! 

-
- Posts: 1442
- Joined: Sat Jul 21, 2018 7:43 am
- Location: Budapest, Hungary
- Full name: Gabor Szots
Re: A complete 1200 lines of code engine (Dumb 1.4)
Gabor Szots
CCRL testing group
CCRL testing group
-
- Posts: 1062
- Joined: Tue Apr 28, 2020 10:03 pm
- Full name: Daniel Infuehr
Re: A complete 1200 lines of code engine (Dumb 1.4)
Very cool!
I think if you replace AB by MCTS you could shave off a few hundred lines even. But if strength remains the same is unknown (probably weaker)
But you would not need a TT - because the tree stores its scores in each node.
So the whole of AB could be replaced by one struct + the core MCTS algorithm.
I think if you replace AB by MCTS you could shave off a few hundred lines even. But if strength remains the same is unknown (probably weaker)
But you would not need a TT - because the tree stores its scores in each node.
So the whole of AB could be replaced by one struct + the core MCTS algorithm.
Worlds-fastest-Bitboard-Chess-Movegenerator
Daniel Inführ - Software Developer
Daniel Inführ - Software Developer
-
- Posts: 28354
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: A complete 1200 lines of code engine (Dumb 1.4)
An MCTS is a TT.
-
- Posts: 469
- Joined: Fri Dec 16, 2016 11:04 am
- Location: France
- Full name: Richard Delorme
Re: A complete 1200 lines of code engine (Dumb 2.0)
I just release version 2.0 of Dumb on Github https://github.com/abulmo/Dumb/releases/tag/v2.0
Dumb 2.0 is about 70 Elo stronger than versions 1.9 - 1.11, but still simpler (1150 line of code instead of 1185) with more (but still too basic) comments.
Dumb 2.0 is about 70 Elo stronger than versions 1.9 - 1.11, but still simpler (1150 line of code instead of 1185) with more (but still too basic) comments.
Richard Delorme
-
- Posts: 18899
- Joined: Thu Mar 09, 2006 6:40 pm
- Location: US of Europe, germany
- Full name: Thorsten Czub
Re: A complete 1200 lines of code engine (Dumb 1.4)
Can you compile it for commodore c64 ?!
What seems like a fairy tale today may be reality tomorrow.
Here we have a fairy tale of the day after tomorrow....
Here we have a fairy tale of the day after tomorrow....
-
- Posts: 469
- Joined: Fri Dec 16, 2016 11:04 am
- Location: France
- Full name: Richard Delorme
Re: A complete 1200 lines of code engine (Dumb 1.4)
No. I do not think a D compiler can target this old computer.
Richard Delorme
-
- Posts: 402
- Joined: Thu Nov 22, 2012 12:20 am
- Location: New Hampshire
Re: A complete 1200 lines of code engine (Dumb 1.4)
If you keep improving it and it keeps getting stronger will you change the name to Smart 1.0? 
