New engine: Xiphos

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

Moderators: hgm, Rebel, chrisw

mt
Posts: 29
Joined: Tue Feb 27, 2018 7:00 am

New engine: Xiphos

Post by mt »

I released an initial version of my new UCI chess engine.

Github: https://github.com/milostatarevic/xiphos
Binaries: https://github.com/milostatarevic/xiphos/releases

Please note that the project is still work in progress. The evaluation function is relatively simple (~200 lines of code), and together with some other parts, can be further improved.

Regarding the strength, it should be on par with engines rated around 3000 Elo on CCRL 40/4 scale. I compared it only to a few other engines, so this could be off.

The linux/osx bmi2 versions are extensively tested, windows not that much, so please tell me if there are any issues. When tested locally, bmi2 version was about 12 Elo points ahead of the version that implemented the magic bitboards. This might not be true for some other CPUs. If in doubt which version to use, please check the nps (for example, by running perft).

I hope you'll find my project interesting.
BrendanJNorman
Posts: 2526
Joined: Mon Feb 08, 2016 12:43 am
Full name: Brendan J Norman

Re: New engine: Xiphos

Post by BrendanJNorman »

mt wrote:I released an initial version of my new UCI chess engine.

Github: https://github.com/milostatarevic/xiphos
Binaries: https://github.com/milostatarevic/xiphos/releases

Please note that the project is still work in progress. The evaluation function is relatively simple (~200 lines of code), and together with some other parts, can be further improved.

Regarding the strength, it should be on par with engines rated around 3000 Elo on CCRL 40/4 scale. I compared it only to a few other engines, so this could be off.

The linux/osx bmi2 versions are extensively tested, windows not that much, so please tell me if there are any issues. When tested locally, bmi2 version was about 12 Elo points ahead of the version that implemented the magic bitboards. This might not be true for some other CPUs. If in doubt which version to use, please check the nps (for example, by running perft).

I hope you'll find my project interesting.
Pardon my asking, but is this a brand new original engine, or is it based on existing engines (Stockfish, Ipo etc?).

The reason I ask is that it is really strong, and from what I've seen in a few games so far, it plays beautiful chess too.


BTW...here's a logo:

Image :wink:
mt
Posts: 29
Joined: Tue Feb 27, 2018 7:00 am

Re: New engine: Xiphos

Post by mt »

Hi Brendan, thanks. Yes, the engine is written from scratch.
Damir
Posts: 2801
Joined: Mon Feb 11, 2008 3:53 pm
Location: Denmark
Full name: Damir Desevac

Re: New engine: Xiphos

Post by Damir »

Thanks a lot for the new engine Milos. I hope you continue with your project, who btw sound very interesting. :) :)
LocutusOfPenguin
Posts: 34
Joined: Thu Sep 28, 2017 6:52 pm
Location: Karlsruhe, Germany
Full name: Jürgen Précour

Re: New engine: Xiphos

Post by LocutusOfPenguin »

Hi Milos,

i had to change the makefile to include threads (p not l) and math (at end) like so:
gcc -pthread -O3 -flto -mbmi2 -Wall src/*.c -o xiphos -lm


Could y also implement the "go searchmoves" please?

Jürgen
Create a dedicated chess computer based on tiny ARM computers with the DGT e-board on picochess.com
sandermvdb
Posts: 160
Joined: Sat Jan 28, 2017 1:29 pm
Location: The Netherlands

Re: New engine: Xiphos

Post by sandermvdb »

An initial version that is ~3000 elo! :o
How long have you been working on this project?
Damir
Posts: 2801
Joined: Mon Feb 11, 2008 3:53 pm
Location: Denmark
Full name: Damir Desevac

Re: New engine: Xiphos

Post by Damir »

Milos, I am having problems when trying and load the engine on Playchess server. It will not load. I am using BMI2 version of your engine. I hope you can fix the problem. :? :?
User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 9:48 am

Re: New engine: Xiphos

Post by velmarin »

Congrats, is a very promising project, although I haven't been able to prove it.
Windows_x64_magic version does not work on my SSE2 machine
Dokterchen
Posts: 133
Joined: Wed Aug 15, 2007 12:18 pm
Location: Munich

Re: New engine: Xiphos

Post by Dokterchen »

Awesome! Thanks Milos
User avatar
CMCanavessi
Posts: 1142
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: New engine: Xiphos

Post by CMCanavessi »

Cool, a nice engine for Season 3 of my tournament! Let's see how it does.
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls