tomitankChess 2.0

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.
tomitank
Posts: 181
Joined: Sat Mar 04, 2017 11:24 am
Location: Hungary

tomitankChess 2.0

Post by tomitank » Wed Jul 11, 2018 5:38 pm

Hi all!


The new version of the world's strongest JavaScript engine is out.

Two versions available:
1. Blocker & Beyond attacks (better on my i3-6100 desktop pc)
2. Magic BitBoard attacks (better on my i3-4005U laptop)

I need the feedback so I can decide which one is the better. Thanks in advance!!


What has changed?
--------------------------------------------------------

1.) tomitankChess 2.0 is the first full BitBoard JavaScript chess engine on the World

- around 20 elo weaker, because in JavaScript everything has to be done twice.
JavaScript don't have 64 bits int: so the Magic BitBoard (and everything else) very slow

- Nonetheless, I tried to write a clean and understandable code. I hope, that this succeeded :)

- added check evasions code


2.) Evaluation

- added threats for all pieces

- added new passed pawn eval

- new King Safety (bigger and pawn-safe king ring)

- new non-linear and pawn-safe mobility (Same in mg and eg)


3.) Search

- better aspiration window

- a bit better delta pruning

- Don't give back the "upper bounds" moves

- pre-calculate and transmit the "gives check"


4.) Others

- added pawn hash (there is no elo gain yet, but it will be useful for a more complex pawn evaluation.)

- Typed Arrays Hash table for better memory usage

- added "Hash option" (default 32 min 1 max 256)

- added "eval" command (show the static evaluation)

- lots of little things

--------------------------------------------------------

All tuned with manually and only with ~2000-5000 games with very fast time control and fix depth (8).

I'm not a time-millionaire :(

--------------------------------------------------------

Estimated strength: ~100 elo stronger than previous version. (near to Fruit 2.1)

In C language, with 1 core, it would be ~2850 elo. On 4 core it would be around ~2950 elo. (in 64 bit version)

--------------------------------------------------------

Future improvements (in progress):
- better hash replacement scheme
- better time management
- tuning search parameters
- tuning eval parameters (maybe with Texel's Tuning Method)

--------------------------------------------------------

tomitankChess (with node.js) run in Arena, in WinBoard and in Cutehess as well.

I would like to thank Fabien for his help.

Have fun with tomitankChess!

Best Regards,

Tamás Kuzmics

Link: https://github.com/tomitank/tomitankChess/releases

tomitank
Posts: 181
Joined: Sat Mar 04, 2017 11:24 am
Location: Hungary

Re: tomitankChess 2.0

Post by tomitank » Wed Jul 11, 2018 6:07 pm

SzG wrote:
Wed Jul 11, 2018 6:02 pm
Thanks Tamás!

At the moment I am watching TV (guess what!) so I think you'll have to wait until tomorrow for my speed tests.

Üdv: Gábor
Hi Gábor!

I have time :)

-Tamás

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

Re: tomitankChess 2.0

Post by Graham Banks » Wed Jul 11, 2018 8:40 pm

Thanks Tamas. Nice progress. :)
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

tomitank
Posts: 181
Joined: Sat Mar 04, 2017 11:24 am
Location: Hungary

Re: tomitankChess 2.0

Post by tomitank » Wed Jul 11, 2018 9:07 pm

Graham Banks wrote:
Wed Jul 11, 2018 8:40 pm
Thanks Tamas. Nice progress. :)
Thank you Graham!

If you have time to deal with the above question, please let me know your results :)

And here I would like to thank you for your incredible work :!:

User avatar
CMCanavessi
Posts: 734
Joined: Thu Dec 28, 2017 3:06 pm
Location: Argentina

Re: tomitankChess 2.0

Post by CMCanavessi » Wed Jul 11, 2018 11:49 pm

Nice, thanx for the new version! I will include it in next season's CCLS if you don't mind. Should be a solid performer in the Entry League :mrgreen:
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls

User avatar
mclane
Posts: 15198
Joined: Thu Mar 09, 2006 5:40 pm
Location: germany
Contact:

Re: tomitankChess 2.0

Post by mclane » Thu Jul 12, 2018 6:17 am

how to run a java engine in arena. is there an adapter or something alike ?
What seems like a fairy tale today may be reality tomorrow.
Here we have a fairy tale of the day after tomorrow....

tomitank
Posts: 181
Joined: Sat Mar 04, 2017 11:24 am
Location: Hungary

Re: tomitankChess 2.0

Post by tomitank » Thu Jul 12, 2018 6:57 am

mclane wrote:
Thu Jul 12, 2018 6:17 am
how to run a java engine in arena.
Hi!
This is JavaScript not Java :) JavaScript running direct in web browser. Here is a link: http://mobil.tanky.hu
JavaScript is ~5x slower than "C" language.
mclane wrote:
Thu Jul 12, 2018 6:17 am
is there an adapter or something alike ?
tomitankChess (with node.js) run in Arena, in WinBoard and in Cutechess as well.

Example for Arena GUI with node.js:
1.) Download Node.js link: https://nodejs.org/en/
2.) Open Arena GUI -> Engine Management
3.) Comand line: direct acces to node.exe (C:\Program Files\nodejs\node.exe)
4.) Command line parameters: direct acces to tomitankChess.js (C:\Program Files\nodejs\tomitankChessUCI.js)

Image:
Attachments
Arena.png
Arena.png (80.37 KiB) Viewed 835 times

tomitank
Posts: 181
Joined: Sat Mar 04, 2017 11:24 am
Location: Hungary

Re: tomitankChess 2.0

Post by tomitank » Thu Jul 12, 2018 7:20 am

CMCanavessi wrote:
Wed Jul 11, 2018 11:49 pm
Nice, thanx for the new version! I will include it in next season's CCLS if you don't mind. Should be a solid performer in the Entry League :mrgreen:
Thank You! :)

tomitank
Posts: 181
Joined: Sat Mar 04, 2017 11:24 am
Location: Hungary

Re: tomitankChess 2.0

Post by tomitank » Thu Jul 12, 2018 7:22 am

mclane wrote:
Thu Jul 12, 2018 6:17 am
how to run a java engine in arena. is there an adapter or something alike ?
Please download again the 2.0 release. I added "USAGE" directory too.

tomitank
Posts: 181
Joined: Sat Mar 04, 2017 11:24 am
Location: Hungary

Re: tomitankChess 2.0

Post by tomitank » Thu Jul 12, 2018 7:27 am

SzG wrote:
Thu Jul 12, 2018 7:07 am
Unfortunately the engine has no analysis output so it is hard to determeine which version is faster. On my i5-4690K the magic version seems a bit faster but I'm not sure.
I measured the difference with a short time control..

The difference is about 10 elo. But I got reverse results on two machines... :(
SzG wrote:
Thu Jul 12, 2018 7:07 am
Do the two versions play differently (eval, search)?
No, same.

Post Reply