pikoSzachy - a new Winboard engine, only 10 KB!

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

pikoSzachy - a new Winboard engine, only 10 KB!

Postby Piotr Cichy » 25 Jan 2005, 17:01

PikoSzachy is a new polish engine for WinBoard.

The name pikoSzachy (in english: picoChess) refers to the very small size of the program - only 10 KB!
It's a simplified version of my another engine - nanoSzachy.
PikoSzachy can use opening book of nanoSzachy.

Download:
pikoSzachy:
http://www.kalisz.mm.pl/~pic/nanochess/index.html#picoChess
nanoSzachy:
http://www.kalisz.mm.pl/~pic/nanochess/
User avatar
Piotr Cichy
 
Posts: 47
Joined: 03 Oct 2004, 11:30
Location: Kalisz, Poland

Re: pikoSzachy - a new Winboard engine, only 10 KB!

Postby Tord Romstad » 25 Jan 2005, 18:35

Piotr Cichy wrote:PikoSzachy is a new polish engine for WinBoard.

The name pikoSzachy (in english: picoChess) refers to the very small size of the program - only 10 KB!

Hi Piotr,

This is truly astonishing. I thought my engine Glaurung, with an executable size of around 70 KB was rather small. Any hints about how you achieve such tiny executable sizes? How big is the source code?

Tord
User avatar
Tord Romstad
 
Posts: 639
Joined: 09 Oct 2004, 12:49
Location: Oslo, Norway

Re: pikoSzachy - a new Winboard engine, only 10 KB!

Postby Piotr Cichy » 25 Jan 2005, 19:01

Tord Romstad wrote:Hi Piotr,

This is truly astonishing. I thought my engine Glaurung, with an executable size of around 70 KB was rather small. Any hints about how you achieve such tiny executable sizes? How big is the source code?

Tord


Hi Tord.

Main reasons of small program size are:
- very compact source code (about 30KB, written in C++)
- code optimized for size, not speed
- using pure C++, avoiding external static linked libraries
- most big tables are precomputed at start, not kept in program
- small number of universal functions with many parameters
(for example, normal and quiescent search use common code)
- avoiding identical or similiar code in different parts of code
User avatar
Piotr Cichy
 
Posts: 47
Joined: 03 Oct 2004, 11:30
Location: Kalisz, Poland

Re: pikoSzachy - a new Winboard engine, only 10 KB!

Postby eric_oldre » 25 Jan 2005, 19:58

Piotr Cichy wrote:PikoSzachy is a new polish engine for WinBoard.

The name pikoSzachy (in english: picoChess) refers to the very small size of the program - only 10 KB!
It's a simplified version of my another engine - nanoSzachy.
PikoSzachy can use opening book of nanoSzachy.

Download:
pikoSzachy:
http://www.kalisz.mm.pl/~pic/nanochess/index.html#picoChess
nanoSzachy:
http://www.kalisz.mm.pl/~pic/nanochess/


Piotr,
How does the strength of PikoSzachy compare to nanoSzachy? nanoszachy is one of my favorite engines to test against.
eric_oldre
 
Posts: 28
Joined: 14 Dec 2004, 20:42
Location: Minnetonka, Minnesota

Re: pikoSzachy - a new Winboard engine, only 10 KB!

Postby Piotr Cichy » 25 Jan 2005, 20:16

eric_oldre wrote:Piotr,
How does the strength of PikoSzachy compare to nanoSzachy? nanoszachy is one of my favorite engines to test against.


I compiled pikoSzachy last Sunday and did not have too much time for testing. But in my first tests (mainly short time controls) the strength of playing seems to be only a litlle worse. I hope to see more results soon in test tourneys.

PikoSzachy has different move generator, does not use bitboards and is about 25% slower. Evaluation function is similiar in both programs. I tried also a simpler (and shorter) evaluation function, but playing strength was noticably worse (in spite of achieving about 2 times more nodes per second).
User avatar
Piotr Cichy
 
Posts: 47
Joined: 03 Oct 2004, 11:30
Location: Kalisz, Poland

Re: pikoSzachy - a new Winboard engine, only 10 KB!

Postby Jim Ablett » 26 Jan 2005, 14:28

Image

Jim.
___________________________
http://jimablett.net63.net/
Jim Ablett
 
Posts: 721
Joined: 27 Sep 2004, 10:39
Location: Essex, England

Re: pikoSzachy - a new Winboard engine, only 10 KB!

Postby Piotr Cichy » 26 Jan 2005, 16:15

Jim Ablett wrote:Image


Hi Jim.

Thanks for the new logo :D
User avatar
Piotr Cichy
 
Posts: 47
Joined: 03 Oct 2004, 11:30
Location: Kalisz, Poland


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 52 guests