Introducing Glass chess engine

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
PK
Posts: 755
Joined: Mon Jan 15, 2007 10:23 am
Location: Warsza
Contact:

Introducing Glass chess engine

Post by PK » Sat Dec 13, 2008 12:21 pm

With two days to OpenWar it's high time to release Glass 0.1.0a - an UCI-compatibile chess engine, written by Edmund Moshammer and Pawel Koziol.

It is available at http://www.marittima.pl/glass and should play at the strength of 2250-2300 Elo (CCRL scale estimate), except for bullet games in which it is *much* worse.

Features:

* Bitboard infrastructure with a staged move generator
* Alpha-Beta search with null move, PVS, razoring and futility pruning
* Quiescence search with SEE and delta pruning
* Evaluation function centered around piece activity (as opposed to king attacks or pawn structure)
* Opening book (over 48.000 entries)
* Pondering

gerold
Posts: 10086
Joined: Wed Mar 08, 2006 11:57 pm
Location: van buren,missouri

Re: Introducing Glass chess engine

Post by gerold » Sat Dec 13, 2008 1:19 pm

PK wrote:With two days to OpenWar it's high time to release Glass 0.1.0a - an UCI-compatibile chess engine, written by Edmund Moshammer and Pawel Koziol.

It is available at http://www.marittima.pl/glass and should play at the strength of 2250-2300 Elo (CCRL scale estimate), except for bullet games in which it is *much* worse.

Features:

* Bitboard infrastructure with a staged move generator
* Alpha-Beta search with null move, PVS, razoring and futility pruning
* Quiescence search with SEE and delta pruning
* Evaluation function centered around piece activity (as opposed to king attacks or pawn structure)
* Opening book (over 48.000 entries)
* Pondering
Thanks Pawel. Nice site and nice program.

Best to you,

Gerold.

swami
Posts: 6535
Joined: Thu Mar 09, 2006 3:21 am

Re: Introducing Glass chess engine

Post by swami » Sat Dec 13, 2008 4:00 pm

Thanks, Pawel. I hope you fix the time management bug atleast to make it work under 1/1 time conditions :)

User avatar
Graham Banks
Posts: 30733
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: Introducing Glass chess engine

Post by Graham Banks » Sat Dec 13, 2008 6:24 pm

Thanks Pawel. :)
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

User avatar
Andres Valverde
Posts: 550
Joined: Sun Feb 18, 2007 10:07 pm
Location: Almeria. SPAIN
Contact:

Re: Introducing Glass chess engine

Post by Andres Valverde » Sat Dec 13, 2008 7:07 pm

Congrats Edmund and Pawel !
Saludos, Andres

PK
Posts: 755
Joined: Mon Jan 15, 2007 10:23 am
Location: Warsza
Contact:

Re: Introducing Glass chess engine

Post by PK » Sun Dec 14, 2008 5:23 pm

I had to update Glass Chess distribution packet because of a search bugfix.

sorry for that,

pawel koziol

User avatar
Graham Banks
Posts: 30733
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: Introducing Glass chess engine

Post by Graham Banks » Sun Dec 14, 2008 6:37 pm

PK wrote:I had to update Glass Chess distribution packet because of a search bugfix.

sorry for that,

pawel koziol
Good that you picked it up early. 8-)
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

trojanfoe

Re: Introducing Glass chess engine

Post by trojanfoe » Mon Dec 15, 2008 8:37 am

Thanks! That's a nice engine and it successfully ripped through some test positions my own engine has been having problems with. I ran a set of mate tests though it through and found a move generator bug (below). Happy bug hunting!

Cheers,
Andy

Code: Select all

08:32:15 Processing ..\..\tests\mate.epd:9 'Mate in 2 Test 10'
+---------------+
|-|R|-|.|r|.|-|.| ply=0 (wtm)
|.|K|P|-|p|-|p|-| flags=
|p|P|-|P|b|.|P|p| ep=0
|p|B|.|P|B|-|p|n| hmclock=0
|n|N|-|.|p|q|r|.|
|P|-|.|-|.|p|N|k|
|P|.|-|.|P|.|-|.|
|.|-|b|-|Q|R|.|-|
+---------------+
bm Rh1
id Mate in 2 Test 10

08:32:15 glass> 'ucinewgame'
08:32:15 glass> 'isready'
08&#58;32&#58;15 <glass 'readyok'
08&#58;32&#58;15 glass> 'position fen 1R2r3/1KP1p1p1/pP1Pb1Pp/pB1PB1pn/nN2pqr1/P4pNk/P3P3/2b1QR2 w - - 0 1'
08&#58;32&#58;15 glass> 'go movetime 10000'
08&#58;32&#58;15 <glass 'info depth 1 currmove e5f4 currmovenumber 1 0'
08&#58;32&#58;24 <glass 'bestmove a4h4'
08&#58;32&#58;24 Failed to complete move 'Na4h4'
08&#58;32&#58;24 Failed to parse move 'a4h4'
08&#58;32&#58;24 glass> 'quit'

Edmund
Posts: 668
Joined: Mon Dec 03, 2007 2:01 pm
Location: Barcelona, Spain
Contact:

Re: Introducing Glass chess engine

Post by Edmund » Tue Dec 16, 2008 11:35 pm

trojanfoe wrote:Thanks! That's a nice engine and it successfully ripped through some test positions my own engine has been having problems with. I ran a set of mate tests though it through and found a move generator bug (below). Happy bug hunting!

Cheers,
Andy
[...]
Thanks Andy,
wasn't really a bug in the movegenerator, but the position you sent has so many possible captures and promotions in quiescence search that it took ages to search the first move. When the time ran out there was no bestmove present and thats why some random variable value was returned.

I sent an updated version to pawel to upload on the webpage. This one should fix the bug and solve the position in about 100sec.
That is still really slow, considering its just a mate in 2 problem, but please note that I am currently working on an updated version of quiescence (not ready for release yet), which takes about 0,2seconds to find the right move.

regards
Edmund

PK
Posts: 755
Joined: Mon Jan 15, 2007 10:23 am
Location: Warsza
Contact:

Re: Introducing Glass chess engine

Post by PK » Wed Dec 17, 2008 7:41 am

bugfixed version 0.1.0c has been uploaded. thanks for running the test!

Post Reply