tomitankChess 4.0

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

Moderators: hgm, Rebel, chrisw

User avatar
CMCanavessi
Posts: 1142
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: tomitankChess 4.0

Post by CMCanavessi »

You should just create a .bat file, put it in your distribution zip and users use that to execute the engine. Done.
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls
tomitank
Posts: 276
Joined: Sat Mar 04, 2017 12:24 pm
Location: Hungary

Re: tomitankChess 4.0

Post by tomitank »

CMCanavessi wrote: Sat Jan 25, 2020 9:36 pm You should just create a .bat file, put it in your distribution zip and users use that to execute the engine. Done.
Unnecessary. node.js must be downloaded. as long as it is not available it will only confuse people.

The description is perfectly understandable.

By the way the engine is designed for browsers and for my mobil application. The perfect solution would be C language, but that doesn't motivate me.
carldaman
Posts: 2283
Joined: Sat Jun 02, 2012 2:13 am

Re: tomitankChess 4.0

Post by carldaman »

You can just run node.exe through the GUI, (node.exe is part of the node.js download package), from the same folder as tomitankChess and then add tomitankchess-4.0.js as the command line parameter. This is what I did and it runs well.
User avatar
Graham Banks
Posts: 41423
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: tomitankChess 4.0

Post by Graham Banks »

carldaman wrote: Sun Jan 26, 2020 1:45 am You can just run node.exe through the GUI, (node.exe is part of the node.js download package), from the same folder as tomitankChess and then add tomitankchess-4.0.js as the command line parameter. This is what I did and it runs well.
That is what I do under ChessGUI.
gbanksnz at gmail.com
supersharp77
Posts: 1242
Joined: Sat Jul 05, 2014 7:54 am
Location: Southwest USA

Re: tomitankChess 4.0.. Jscript Solved!

Post by supersharp77 »

tomitank wrote: Sat Jan 25, 2020 10:12 pm
CMCanavessi wrote: Sat Jan 25, 2020 9:36 pm You should just create a .bat file, put it in your distribution zip and users use that to execute the engine. Done.
Unnecessary. node.js must be downloaded. as long as it is not available it will only confuse people.

The description is perfectly understandable.

By the way the engine is designed for browsers and for my mobil application. The perfect solution would be C language, but that doesn't motivate me.
Here Is A great Explaination of The Jscript Issue/Problem....Enjoy!! :D :wink:

JavaScript Chess Engine

__
/\_ \
___ __ _ __ __ __\//\ \ __ __ ___
/'___\ /'__`\/\`'__\/\ \/\ \ \ \ \ /'__`\ /'__`\ /' _ `\
/\ \__//\ __/\ \ \/ \ \ \_\ \ \_\ \_/\ __//\ \L\.\_/\ \/\ \
\ \____\ \____\\ \_\ \ \____/ /\____\ \____\ \__/.\_\ \_\ \_\
\/____/\/____/ \/_/ \/___/ \/____/\/____/\/__/\/_/\/_/\/_/
Build Status

Introduction
CeruleanJS is an XBoard chess engine for NodeJS, written by Joey Robert.

The goals of CeruleanJS are threefold:

Correctness
Performance
Ease of programming
CeruleanJS aims to be ranked on the CCRL.

Requirements
Node >= 4.0
Setup
To install the binary into your $PATH, install the ceruleanjs package globally:

npm install -g ceruleanjs
Run the engine with the command:

ceruleanjs
If you’re installing from sources, check out this git repository and run:

npm install
To run:

npm start
To run mocha tests:

*****npm test
To generate a Windows binary executable using nexe, run:

npm run build-windows
This requires Microsoft Visual Studio 2015 to be installed. It will generate ceruleanjs.exe and book.bok in dist.********

To generate a web build, run:

npm run build-web
This will generate a babelify’d ES5 version of CeruleanJS that is compatible with most modern day web browsers that support Web Workers. This build is used in the CeruleanJS Player.

Interface
CeruleanJS supports the XBoard/winboard/CECP format for communicating with interfaces or other chess engines. It’s also usable directly through STDIN/OUT. Here’s the list of commands:

Commands

display Draws the board
perft [INT] Perfts the current board to specified depth
perfthash [INT] Sets perft hashtable exponent (size 2^exponent)
divide [INT] Divides the current board to specified depth
moves Lists valid moves for this position
e2e4 Moves from the current position and thinks
go Forces the engine to think
undo Subtracts the previous move
new Sets up the default board position
setboard [d] Sets the board using Forsyth-Edwards Notation
evaluate Performs a static evaluation of the board
result Displays game result (checkmate or stalemate)
book [on|off] Toggles whether engine uses opening book
white Sets the active colour to WHITE
black Sets the active colour to BLACK
time [INT] Sets engine's time (in centiseconds)
otim [INT] Sets opponent's time (in centiseconds)
sd [INT] Sets maximum depth
st [INT] Sets maximum time
level [MPT] [BASE] [INC] Sets Winboard level timing
sts Run Strategic Test Suite (1s per move)
version Outputs the version number
exit Exits the menu
quit See exit
help Gets you this magical menu
Interface GIF