Dog

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

Moderators: hgm, Dann Corbit, Harvey Williamson

User avatar
flok
Posts: 480
Joined: Tue Jul 03, 2018 10:19 am
Full name: Folkert van Heusden

Dog

Post by flok »

New chess program: Dog
It is written for the ESP32.
https://vanheusden.com/chess/Dog/
User avatar
flok
Posts: 480
Joined: Tue Jul 03, 2018 10:19 am
Full name: Folkert van Heusden

Re: Dog

Post by flok »

I've put version 0.3 on the web. Its strength is around 1960 elo (when compared with tscp running on the same platform).
User avatar
flok
Posts: 480
Joined: Tue Jul 03, 2018 10:19 am
Full name: Folkert van Heusden

Re: Dog v0.4

Post by flok »

Version 0.4 adds pondering.
User avatar
flok
Posts: 480
Joined: Tue Jul 03, 2018 10:19 am
Full name: Folkert van Heusden

Re: Dog

Post by flok »

oh and version 0.3 also added lazy smp (esp32 has 2 cores)
User avatar
flok
Posts: 480
Joined: Tue Jul 03, 2018 10:19 am
Full name: Folkert van Heusden

Re: Dog

Post by flok »

Code: Select all

   # PLAYER            :  RATING  POINTS  PLAYED   (%)
   1 tscp-1.81c        :  1724.0   217.5     352    62
   2 Saruman           :  1645.4  2467.0    2881    86
   3 Dog_v0.4-ESP32    :  1218.5   204.5    2545     8
Note: Dog plays on a 240MHz microcontroller here while tscp and saruman run on an 11th gen i5 at > 2.7GHz.
User avatar
flok
Posts: 480
Joined: Tue Jul 03, 2018 10:19 am
Full name: Folkert van Heusden

Re: Dog

Post by flok »

flok wrote: Thu Oct 06, 2022 8:41 am

Code: Select all

   # PLAYER            :  RATING  POINTS  PLAYED   (%)
   1 tscp-1.81c        :  1724.0   217.5     352    62
   2 Saruman           :  1645.4  2467.0    2881    86
   3 Dog_v0.4-ESP32    :  1218.5   204.5    2545     8
Note: Dog plays on a 240MHz microcontroller here while tscp and saruman run on an 11th gen i5 at > 2.7GHz.

Code: Select all

   # PLAYER            :  RATING  POINTS  PLAYED   (%)
   1 Dog_v0.4b_i5      :  1937.8   945.5    1192    79
   2 tscp-1.81c        :  1724.0   348.5     962    36
   3 Saruman           :  1679.1  2609.0    3506    74
   4 Dog_v0.4_i5       :  1615.6    16.5      43    38
   5 Dog_v0.4-ESP32    :  1252.0   204.5    2545     8
In the table above, Dog_v0.4b_i5 runs on the laptop (the i5-11400H system), together with tscp/samuran.
User avatar
Graham Banks
Posts: 41176
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Dog

Post by Graham Banks »

Woof!
Sorry - couldn't help myself. :lol:
gbanksnz at gmail.com
User avatar
flok
Posts: 480
Joined: Tue Jul 03, 2018 10:19 am
Full name: Folkert van Heusden

Re: Dog

Post by flok »

The website now also contains a link to the source code (basically Micah with some parts ripped out due to memory constraints and some bugs fixed). Also included is a windows binary. Linux users are usually capable of creating a binary themselves.
Ras
Posts: 2485
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: Dog

Post by Ras »

Nice to see another engine on a microcontroller! :D
Rasmus Althoff
https://www.ct800.net
User avatar
flok
Posts: 480
Joined: Tue Jul 03, 2018 10:19 am
Full name: Folkert van Heusden

Re: Dog

Post by flok »

Ras wrote: Thu Oct 06, 2022 8:01 pm Nice to see another engine on a microcontroller! :D
Thanks!

It was an interesting endeavour to get it to work. Especially since I use libchess that I wanted to use without modifications and it uses std::thread which is problematic on a micro controller (dynamically allocated stack).