ChessGUI - no problem.Dann Corbit wrote: ↑Mon Jan 18, 2021 10:39 pm Is it also true of Javascript engines?
Not the same thing.
tomitankChess 5.0 with NN
Moderators: hgm, Rebel, chrisw
-
- Posts: 41458
- Joined: Sun Feb 26, 2006 10:52 am
- Location: Auckland, NZ
Re: tomitankChess 5.0 with NN
gbanksnz at gmail.com
-
- Posts: 1364
- Joined: Sat Jul 21, 2018 7:43 am
- Location: Szentendre, Hungary
- Full name: Gabor Szots
Re: tomitankChess 5.0 with NN
In my experience they behave the same way whatever GUI you use. For javascript engines you replace java with node and give the engine file as a parameter. Only, with java you have to use -jar "engine.jar" while with node only "engine.js" has to be given.Dann Corbit wrote: ↑Mon Jan 18, 2021 10:39 pm Is it also true of Javascript engines?
Not the same thing.
However, using Arena I have noticed that you will have to give the full path to either java or node even if your path environment variable includes its path. And then you have to give the full path to the engine file as well. A better way is to use a batch file, then there is no need to use absolute paths. E.g. this batch file works for me:
node tomitankChess_5.0.js
Gabor Szots
CCRL testing group
CCRL testing group
-
- Posts: 1242
- Joined: Sat Jul 05, 2014 7:54 am
- Location: Southwest USA
Re: tomitankChess 5.0 with NN
Its Ok guys......I just spent years trying to do work arounds for Cuckoo Chess and Fischerle and Pirarucu and Carballo Java.(at least we had a Bat file)..now they want us to do the same hair pulling for Wukong Js and Tomitank and Lozza...etc? Why?Whats so hard about producing a exe file? And why do we want a Chess engine running in my web browser instead of in the Fritz GUI or Chess Ok or Banksia GUI's? Whats so hard about producing this exe file for these guys? Humor me one more time..Thx My Friends...ARGabor Szots wrote: ↑Tue Jan 19, 2021 11:53 amIn my experience they behave the same way whatever GUI you use. For javascript engines you replace java with node and give the engine file as a parameter. Only, with java you have to use -jar "engine.jar" while with node only "engine.js" has to be given.Dann Corbit wrote: ↑Mon Jan 18, 2021 10:39 pm Is it also true of Javascript engines?
Not the same thing.
However, using Arena I have noticed that you will have to give the full path to either java or node even if your path environment variable includes its path. And then you have to give the full path to the engine file as well. A better way is to use a batch file, then there is no need to use absolute paths. E.g. this batch file works for me:
node tomitankChess_5.0.js
-
- Posts: 1364
- Joined: Sat Jul 21, 2018 7:43 am
- Location: Szentendre, Hungary
- Full name: Gabor Szots
Re: tomitankChess 5.0 with NN
You could have installed node and created the batch file in the time you wrote this.supersharp77 wrote: ↑Wed Jan 20, 2021 7:28 am Its Ok guys......I just spent years trying to do work arounds for Cuckoo Chess and Fischerle and Pirarucu and Carballo Java.(at least we had a Bat file)..now they want us to do the same hair pulling for Wukong Js and Tomitank and Lozza...etc? Why?Whats so hard about producing a exe file? And why do we want a Chess engine running in my web browser instead of in the Fritz GUI or Chess Ok or Banksia GUI's? Whats so hard about producing this exe file for these guys? Humor me one more time..Thx My Friends...AR
Gabor Szots
CCRL testing group
CCRL testing group
-
- Posts: 276
- Joined: Sat Mar 04, 2017 12:24 pm
- Location: Hungary
Re: tomitankChess 5.0 with NN
Hi!supersharp77 wrote: ↑Wed Jan 20, 2021 7:28 amIts Ok guys......I just spent years trying to do work arounds for Cuckoo Chess and Fischerle and Pirarucu and Carballo Java.(at least we had a Bat file)..now they want us to do the same hair pulling for Wukong Js and Tomitank and Lozza...etc? Why?Whats so hard about producing a exe file? And why do we want a Chess engine running in my web browser instead of in the Fritz GUI or Chess Ok or Banksia GUI's? Whats so hard about producing this exe file for these guys? Humor me one more time..Thx My Friends...ARGabor Szots wrote: ↑Tue Jan 19, 2021 11:53 amIn my experience they behave the same way whatever GUI you use. For javascript engines you replace java with node and give the engine file as a parameter. Only, with java you have to use -jar "engine.jar" while with node only "engine.js" has to be given.Dann Corbit wrote: ↑Mon Jan 18, 2021 10:39 pm Is it also true of Javascript engines?
Not the same thing.
However, using Arena I have noticed that you will have to give the full path to either java or node even if your path environment variable includes its path. And then you have to give the full path to the engine file as well. A better way is to use a batch file, then there is no need to use absolute paths. E.g. this batch file works for me:
node tomitankChess_5.0.js
This engine primarily made for the mobile phone app and my website. That's why I use JavaScript.
here you can play:
http://mobil.tanky.hu/
-
- Posts: 4468
- Joined: Fri Apr 21, 2006 4:19 pm
- Location: IASI - the historical capital of MOLDOVA
- Full name: SilvianR
Re: tomitankChess 5.0 with NN
1.-WOW ! Only some minutes for me !supersharp77 wrote: ↑Wed Jan 20, 2021 7:28 am
1.-......I just spent years trying to do work arounds for Cuckoo Chess and Fischerle and Pirarucu and Carballo Java.(at least we had a Bat file)..now they want us to do the same hair pulling for Wukong Js and Tomitank and Lozza...etc? Why?Whats so hard about producing a exe file?
2.-And why do we want a Chess engine running in my web browser instead of in the Fritz GUI or Chess Ok or Banksia GUI's? Whats so hard about producing this exe file for these guys? Humor me one more time..Thx My Friends...AR
2.-Every JavaScript engine is a delice for computer chess. Every .js executable it's so easy to edit..........Every JS engine works very well in any major chess GUI.......it's so hard to download NODE (https://nodejs.org/en/download/)? Under Arena GUI: put tomitankchess.js in the same folder with Node, install -and rename, of course, node.exe like a chess engine, write "tomitankchess.js" like command line parameter). HARD ?
-
- Posts: 276
- Joined: Sat Mar 04, 2017 12:24 pm
- Location: Hungary
-
- Posts: 12541
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: tomitankChess 5.0 with NN
Do not marvel at people who will not do setup.
Stockfish embeds the same 20 MB binary in every executable built (they make a lot of them and so do I), so that people will not have to browse to it.
Stockfish embeds the same 20 MB binary in every executable built (they make a lot of them and so do I), so that people will not have to browse to it.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
-
- Posts: 4468
- Joined: Fri Apr 21, 2006 4:19 pm
- Location: IASI - the historical capital of MOLDOVA
- Full name: SilvianR
-
- Posts: 276
- Joined: Sat Mar 04, 2017 12:24 pm
- Location: Hungary
Re: tomitankChess 5.0 with NN
Thank You!
What’s even more shocking is that in this picture Junior has ~ 3 Mega Node / sec and tomitankChess only 3 Kilo Node / sec.
Junior is about 10x faster, (but not stronger ?)
I just want to say that chessprogramming has improved a lot in recent years. My current engine in pure JavaScript with a single processor core beats even the (recent human) world champion. I think Stockfish.js (5) could be somewhere at this level, but i'ts not pure, but asm script. Not readable for human.