Alouette 0.0.1

Discussion of anything and everything relating to chess playing software and machines.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Daniel Anulliero
Posts: 688
Joined: Fri Jan 04, 2013 3:55 pm
Location: Nice

Re: Alouette 0.0.1

Post by Daniel Anulliero » Thu Apr 04, 2019 8:40 pm

Add some pieces square tables :wink:
Anyway good To see you always in our "crazy world" Roland :)

User avatar
Roland Chastain
Posts: 221
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: Alouette 0.0.1

Post by Roland Chastain » Mon Apr 08, 2019 9:36 pm

Thank you Daniel. I added piece square tables and a kind of minimax. Now Alouette sometimes mates against very easy opponents. It's a beginning. :)

I also made a perft executable, using Alouette code. I was glad to see that it gives good results, but I was disappointed when I made a comparison with H.G. Muller perft tool. Here H.G. Muller tool computes perft(5) in more or less 50 milliseconds, my tool in 50... seconds. :|

Alouette 0.0.4 is here.

Not yet tried perft in FRC mode.

Daniel Anulliero
Posts: 688
Joined: Fri Jan 04, 2013 3:55 pm
Location: Nice

Re: Alouette 0.0.1

Post by Daniel Anulliero » Wed Apr 10, 2019 5:46 am

Cool !
Now, Alouette become a chess program, not a randomizer :wink:

Well , you know, perft is not crucial... ask To Raoni, the Pirarucu's chess developer, Pirarucu haven't a very fast perft, but It is very strong 😉
Bests
Dany

zulban
Posts: 36
Joined: Sun Apr 08, 2018 4:23 pm
Contact:

Re: Alouette 0.0.1

Post by zulban » Thu Apr 11, 2019 10:12 pm

Neato project.

Software development tip: I strongly suggest TDD to iron out bugs regarding illegal moves. Not sure, but I don't see a test suite. See also here for another project using TDD for chess move generation.

User avatar
Roland Chastain
Posts: 221
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: Alouette 0.0.1

Post by Roland Chastain » Fri Apr 12, 2019 11:10 pm

@Daniel
Thank you for the information. :wink:

@zulban
Thank you for your message. I followed your suggestion and started a test unit. It made me discover some bugs. :)

I updated the git repository but didn't build a new version of the engine, because the bugs fixed don't change the behaviour of the engine.

User avatar
Ovyron
Posts: 2828
Joined: Tue Jul 03, 2007 2:30 am

Re: Alouette 0.0.1

Post by Ovyron » Thu Apr 18, 2019 11:57 pm

Roland Chastain wrote:
Sun Mar 31, 2019 12:27 pm
I would like to explore very simple ideas, and why not make a kind of toy engine for children, with personnalities.
For personalities, simple ideas that work well is just personalities that value material differently. These ideas worked well for fun Personalities for the Pro Deo Chess engine (each hyphen is followed by an idea):

-Values Knights much higher than Bishops (400 CPs for Knights, 200 CPs for Bishops)
-Gives incredible bonus to Bishop Pair (200 CPs if both Bishops are present)
-Overvalues Knights and Bishops, undervalues Rooks (all three pieces on 350 CPs)
-Undervalues Pawns (25 CPs for pawns)
-Overvalues Pawns (150 CPs for pawns, 200 CPs for pawns in contact with King)
-Undervalues Queen (600 CPs so it tries to exchange Queen for lesser material)
-Queen Trade Avoider (thinks own queen is 1200 CPs and opponent's is 600 CPs)
-Pawn Promoter (300 CP bonus for unopposed, unstoppable passed pawn, and bonus grows as pawn advances)

Now, Alouette's personalities will play interestingly not mainly because of how they evaluate board's material, but because of the way they'd think the opponent evaluates board material. Something I haven't seen tried is such things only applied to one's side, so the opposing pieces are evaluated normally, while yours have these concepts. And vice versa, so each idea could produce three different players.
Great spirits have always encountered violent opposition from mediocre minds.

User avatar
Roland Chastain
Posts: 221
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: Alouette 0.0.1

Post by Roland Chastain » Sat Apr 20, 2019 12:16 pm

@Ovyron

Thank you for the interesting idea.

tpoppins
Posts: 919
Joined: Tue Nov 24, 2015 8:11 pm
Location: upstate

Re: Alouette 0.0.1

Post by tpoppins » Sun Apr 28, 2019 10:18 pm

Roland, I tried v0.0.3 and v0.0.4 vs. Sapeli in random-mover mode. It turned out to be an exercise in frustration.

Alouette stalls under Cute Chess GUI and Arena 3.5.1, and only when playing black pieces. Both v0.0.3 and v0.0.4 do, the latter perhaps somewhat less than the former. They just stop moving, with 0% CPU usage in Task Manager. Under Arena they lose on time, under CC the game is terminated as "stalled connection".

The OS is Win 7 x64 Pro SP1. The box is a 12-core dual Xeon, the chips are Westmere. Perhaps it's a dependency issue that would go away if I built from source. I have no idea what toolchain/compiler is need on Windoze for that. Perhaps you could try different compiling options?
Tirsa Poppins
CCRL

User avatar
Roland Chastain
Posts: 221
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: Alouette 0.0.1

Post by Roland Chastain » Sun Apr 28, 2019 10:45 pm

Hello Tirsa!

Thank you very much for testing Alouette and reporting the result. I am sorry that you encountered that problem. It's strange, because I am also under Windows, and I also use Cute Chess, and never had that problem.

Alouette is a very basic Pascal program. To compile it, you just need the Free Pascal Compiler.

I will follow your suggestion and try different building options. I could also provide a binary compiled with DEBUG option: it produces a log file. I come back as soon as it is done. :wink:

User avatar
Roland Chastain
Posts: 221
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: Alouette 0.0.1

Post by Roland Chastain » Mon Apr 29, 2019 12:24 am

I have made a ZIP file including a binary compiled with DEBUG option: it's alouette.exe. The other files (alouette32.exe and alouette64.exe) are binaries compiled with RELEASE option. The main difference is that the DEBUG version produces a log file.

alouette-20190429.zip

@Tirsa
If you have time for a new test, please use alouette.exe.

Post Reply