Page 1 of 5

tomitankChess - New JavaScript engine

Posted: Sun Sep 17, 2017 4:58 pm
by tomitank
Hi all!

tomitankChess is pure JavaScript Engine
-----------------------------------------
- No Emscripten, no V8 optimization: unlike stockfish-js
- tomitankChess use node.js for UCI protokol.

Usage:
------------------
- Arena GUI with node.js
- Comand line: direct acces to node.exe (C:\Program Files\nodejs\node.exe)
- Command line parameters: direct acces to tomitankChess.js (C:\Program Files\nodejs\tomitankChessUCI.js)

Features:
------------------
- Pawn bitboard with 32 bit integers (http://talkchess.com/forum/viewtopic.php?t=65198)
- Hash 28MB
- PVS, fail-low
- IID
- LMR
- LMP
- Razoring
- Futility Pruning
- Null Move Pruning
- Static null move pruning
- See pruning at Qsearch
- Delta Pruning at Qsearch
- Evaluation based on Fruit 2.1

Thanks:
------------------
- Thanks Fabien Letouzey for the great source code of the program Fruit 2.1.
- Thanks Colin Jenkins (Lozza author) for the UCI interface code.
- Thanks Stockfish authors
- Thanks VICE author
- http://talkchess.com
- https://chessprogramming.wikispaces.com/

Estimated level:
------------------
- Lozza 1.7 or better. (Around 2400-2500 elo)

TODO:
------------------
- Pawn Eval Hash
- Tune Search algorithm

Have fun with tomitankChess!

Download link: https://github.com/tomitank/tomitankChess

Tamas Kuzmics

Re: tomitankChess - New JavaScript engine

Posted: Sun Sep 17, 2017 10:28 pm
by Graham Banks
Is there an engine folder to download?

Graham.

Re: tomitankChess - New JavaScript engine

Posted: Sun Sep 17, 2017 10:47 pm
by tmokonen
You need the Node.js executable to run the engine inside of a chess GUI.
Download it from

https://nodejs.org/en/download/

I would use the Windows Binary .zip package. Place node.exe from the download and tomitankChess.js from the tomitankChess GitHub site in the same folder. Then when you set up your engine in the GUI, use node.exe as the engine, and tomitankChess.js as the command line parameter, and you should be good to go.

Re: tomitankChess - New JavaScript engine

Posted: Sun Sep 17, 2017 10:51 pm
by Graham Banks
tmokonen wrote:You need the Node.js executable to run the engine inside of a chess GUI.
Download it from

https://nodejs.org/en/download/

I would use the Windows Binary .zip package. Place node.exe from the download and tomitankChess.js from the tomitankChess GitHub site in the same folder. Then when you set up your engine in the GUI, use node.exe as the engine, and tomitankChess.js as the command line parameter, and you should be good to go.
Thanks Tony. :)

Re: tomitankChess - New JavaScript engine

Posted: Sun Sep 17, 2017 10:56 pm
by Graham Banks
Graham Banks wrote:
tmokonen wrote:You need the Node.js executable to run the engine inside of a chess GUI.
Download it from

https://nodejs.org/en/download/

I would use the Windows Binary .zip package. Place node.exe from the download and tomitankChess.js from the tomitankChess GitHub site in the same folder. Then when you set up your engine in the GUI, use node.exe as the engine, and tomitankChess.js as the command line parameter, and you should be good to go.
Thanks Tony. :)
I can't seem to download the tomitankChess.js file.

Re: tomitankChess - New JavaScript engine

Posted: Sun Sep 17, 2017 11:01 pm
by tmokonen
I can't seem to download the tomitankChess.js file.
From https://github.com/tomitank/tomitankChess

Click on the green Clone or download button and download the zip file, and extract it from the file you have downloaded.

Re: tomitankChess - New JavaScript engine

Posted: Sun Sep 17, 2017 11:16 pm
by Graham Banks
tmokonen wrote:
I can't seem to download the tomitankChess.js file.
From https://github.com/tomitank/tomitankChess

Click on the green Clone or download button and download the zip file, and extract it from the file you have downloaded.
Got it. Thanks again. :)

Re: tomitankChess - New JavaScript engine

Posted: Sun Sep 17, 2017 11:16 pm
by gbtami
Seems little unusual for me to publish a GPL program as an encripted .js file. Is there any special reason you use this format instead of readable source code?

Re: tomitankChess - New JavaScript engine

Posted: Sun Sep 17, 2017 11:54 pm
by tomitank
Thanks your help!

Re: tomitankChess - New JavaScript engine

Posted: Sun Sep 17, 2017 11:56 pm
by Graham Banks
tomitank wrote:Thanks your help!
Does Tomitank have a version number (like 1.0 for example)?