JavaScript UCI and Cinnamon UCI JS Engine on Arena 3.5.1

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

Moderators: hgm, Rebel, chrisw

Norbert Raimund Leisner
Posts: 1643
Joined: Tue May 20, 2008 4:57 pm
Location: Augsburg - Germany

JavaScript UCI and Cinnamon UCI JS Engine on Arena 3.5.1

Post by Norbert Raimund Leisner »

Hello,

cf. debug of rena below:

LozzaJS https://plus.google.com/u/0/+ColinJenki ... guyzPn28Gg
Cinnamon JS http://cinnamonchess.altervista.org/

I put lozza.js and cinnamon_engine.js firstly in the folder where jsuci 1.2.exe
and then as commandline parameters of jsuci 1.2.exe

but cinnamon_engine.js forfeits on time and refuses to execute any moves

What went wrong here?

2017-08-16 09:04:56,166****Tour**Round 1 of 4: Jsuci_1_2 - Jsuci_1_2 [001]
2017-08-16 09:04:56,189**----------New game---2017-08-16 09:04:56,189 Mi -------------
2017-08-16 09:04:56,218*1*Start calc, move no: 0
2017-08-16 09:04:56,218-->1:ucinewgame
2017-08-16 09:04:56,219-->1:isready
2017-08-16 09:04:56,239<--1:readyok
2017-08-16 09:04:56,244-->1:position startpos
2017-08-16 09:04:56,244-->1:go wtime 300000 btime 300000 winc 0 binc 0
2017-08-16 09:04:56,249<--1:info nodes 0 time 0 nps 0
2017-08-16 09:04:56,250<--1:info hashfull 0
2017-08-16 09:04:56,258<--1:info nodes 2 time 8 nps 250 depth 1 seldepth 1 score cp 29 pv b1c3
2017-08-16 09:04:56,259<--1:info nodes 2 time 9 nps 222
2017-08-16 09:04:56,263<--1:info nodes 44 time 14 nps 3142 depth 2 seldepth 2 score cp 29 pv b1c3 g8f6
2017-08-16 09:04:56,266<--1:info nodes 44 time 14 nps 3142
2017-08-16 09:04:56,277<--1:info nodes 147 time 28 nps 5250 depth 3 seldepth 3 score cp 29 pv b1c3 g8f6 g1f3
2017-08-16 09:04:56,279<--1:info nodes 147 time 28 nps 5250
2017-08-16 09:04:56,280<--1:info nodes 252 time 30 nps 8400
2017-08-16 09:04:56,283<--1:info nodes 430 time 34 nps 12647 depth 4 seldepth 5 score cp 29 pv b1c3 g8f6 g1f3 b8c6
2017-08-16 09:04:56,284<--1:info nodes 430 time 34 nps 12647
2017-08-16 09:04:56,296<--1:info nodes 1111 time 47 nps 23638 depth 5 seldepth 7 score cp 15 pv b1c3 g8f6 g1f3 b8c6 d2d4
2017-08-16 09:04:56,298<--1:info nodes 1111 time 47 nps 23638
2017-08-16 09:04:56,348<--1:info nodes 3230 time 99 nps 32626 depth 6 seldepth 9 score cp 29 pv b1c3 g8f6 g1f3 b8c6 d2d4 d7d5
2017-08-16 09:04:56,350<--1:info nodes 3230 time 99 nps 32626
2017-08-16 09:04:56,431<--1:info nodes 7745 time 181 nps 42790 depth 7 seldepth 14 score cp 10 pv b1c3 g8f6 g1f3 b8c6 d2d4 d7d5 c1f4
2017-08-16 09:04:56,433<--1:info nodes 7745 time 182 nps 42554
2017-08-16 09:04:56,589<--1:info nodes 21004 time 340 nps 61776 depth 7 seldepth 14 score cp 49 pv e2e3 g8f6 f1e2 e7e5 e1f1 b8c6 b1c3
2017-08-16 09:04:56,591<--1:info nodes 21004 time 340 nps 61776
2017-08-16 09:04:56,654<--1:info nodes 41432 time 405 nps 102301 depth 8 seldepth 15 score cp 29 pv e2e3 e7e6 f1e2 f8e7 g1f3 g8f6 e1g1 e8g8
2017-08-16 09:04:56,656<--1:info nodes 41432 time 405 nps 102301
2017-08-16 09:04:56,780<--1:info nodes 63855 time 531 nps 120254
2017-08-16 09:04:56,865<--1:info nodes 78263 time 616 nps 127050 depth 9 seldepth 19 score cp 33 pv e2e3 e7e6 f1e2 f8e7 g1f3 g8f6 e1g1 e8g8 b1c3
2017-08-16 09:04:56,867<--1:info nodes 78263 time 616 nps 127050
2017-08-16 09:04:57,062<--1:info nodes 148332 time 812 nps 182674 depth 10 seldepth 19 score cp 29 pv e2e3 e7e6 f1e2 f8e7 g1f3 g8f6 e1g1 e8g8 b1c3 b8c6
2017-08-16 09:04:57,064<--1:info nodes 148332 time 813 nps 182450
2017-08-16 09:04:57,282<--1:info nodes 229332 time 1033 nps 222005
2017-08-16 09:04:57,770<--1:info nodes 480887 time 1521 nps 316165 depth 11 seldepth 24 score cp 9 pv e2e3 e7e6 d2d4 f8e7 f1d3 b8c6 g1f3 g8f6 e1g1 e8g8 b1c3
2017-08-16 09:04:57,772<--1:info nodes 480887 time 1521 nps 316165
2017-08-16 09:04:57,783<--1:info nodes 487469 time 1534 nps 317776
2017-08-16 09:04:58,245<--1:info nodes 725809 time 1995 nps 363814 depth 11 seldepth 24 score cp 15 pv g1f3 g8f6 b1c3 e7e6 e2e4 b8c6 f1e2 f8b4 e4e5 f6g4 e1g1
2017-08-16 09:04:58,247<--1:info nodes 725809 time 1996 nps 363631
2017-08-16 09:04:58,248<--1:info currmove Nc3 currmovenumber 3
2017-08-16 09:04:58,284<--1:info nodes 747260 time 2035 nps 367203
2017-08-16 09:04:58,325<--1:info currmove d4 currmovenumber 4
2017-08-16 09:04:58,452<--1:info currmove a3 currmovenumber 5
2017-08-16 09:04:58,474<--1:info currmove h3 currmovenumber 6
2017-08-16 09:04:58,483<--1:info currmove b4 currmovenumber 7
2017-08-16 09:04:58,487<--1:info currmove d3 currmovenumber 8
2017-08-16 09:04:58,507<--1:info currmove c3 currmovenumber 9
2017-08-16 09:04:58,511<--1:info currmove g3 currmovenumber 10
2017-08-16 09:04:58,520<--1:info currmove f4 currmovenumber 11
2017-08-16 09:04:58,524<--1:info currmove e4 currmovenumber 12
2017-08-16 09:04:58,533<--1:info currmove f3 currmovenumber 13
2017-08-16 09:04:58,535<--1:info currmove b3 currmovenumber 14
2017-08-16 09:04:58,539<--1:info currmove Na3 currmovenumber 15
2017-08-16 09:04:58,540<--1:info currmove Nh3 currmovenumber 16
2017-08-16 09:04:58,541<--1:info currmove a4 currmovenumber 17
2017-08-16 09:04:58,543<--1:info currmove h4 currmovenumber 18
2017-08-16 09:04:58,548<--1:info currmove c4 currmovenumber 19
2017-08-16 09:04:58,551<--1:info currmove g4 currmovenumber 20
2017-08-16 09:04:58,557<--1:info currmove Nf3 currmovenumber 1
2017-08-16 09:04:58,785<--1:info nodes 1018490 time 2536 nps 401612
2017-08-16 09:04:59,286<--1:info nodes 1289696 time 3037 nps 424661
2017-08-16 09:04:59,787<--1:info nodes 1613707 time 3538 nps 456107
2017-08-16 09:04:59,979<--1:info nodes 1738631 time 3730 nps 466120 depth 12 seldepth 24 score cp 33 pv g1f3 g8f6 e2e3 e7e6 d2d4 b8c6 f1d3 f8b4 c1d2 e8g8 e1g1 d7d5 d2b4
2017-08-16 09:04:59,981<--1:info nodes 1738631 time 3730 nps 466120
2017-08-16 09:04:59,982<--1:info hashfull 10
2017-08-16 09:04:59,983<--1:info currmove Nc3 currmovenumber 2
2017-08-16 09:05:00,046<--1:info currmove d4 currmovenumber 3
2017-08-16 09:05:00,288<--1:info nodes 1953862 time 4039 nps 483748
2017-08-16 09:05:00,621<--1:info currmove a3 currmovenumber 4
2017-08-16 09:05:00,638<--1:info currmove e3 currmovenumber 5
2017-08-16 09:05:00,699<--1:info currmove e4 currmovenumber 6
2017-08-16 09:05:00,716<--1:info currmove c3 currmovenumber 7
2017-08-16 09:05:00,721<--1:info currmove b4 currmovenumber 8
2017-08-16 09:05:00,727<--1:info currmove d3 currmovenumber 9
2017-08-16 09:05:00,745<--1:info currmove h3 currmovenumber 10
2017-08-16 09:05:00,746<--1:info currmove g3 currmovenumber 11
2017-08-16 09:05:00,748<--1:info currmove f3 currmovenumber 12
2017-08-16 09:05:00,749<--1:info currmove f4 currmovenumber 13
2017-08-16 09:05:00,750<--1:info currmove g4 currmovenumber 14
2017-08-16 09:05:00,753<--1:info currmove b3 currmovenumber 15
2017-08-16 09:05:00,754<--1:info currmove h4 currmovenumber 16
2017-08-16 09:05:00,755<--1:info currmove Na3 currmovenumber 17
2017-08-16 09:05:00,756<--1:info currmove Nh3 currmovenumber 18
2017-08-16 09:05:00,757<--1:info currmove c4 currmovenumber 19
2017-08-16 09:05:00,758<--1:info currmove a4 currmovenumber 20
2017-08-16 09:05:00,759<--1:info currmove Nf3 currmovenumber 1
2017-08-16 09:05:00,789<--1:info nodes 2284457 time 4540 nps 503184
2017-08-16 09:05:01,290<--1:info nodes 2656251 time 5041 nps 526929
2017-08-16 09:05:01,791<--1:info nodes 3024290 time 5542 nps 545703
2017-08-16 09:05:02,291<--1:info nodes 3393572 time 6043 nps 561570
2017-08-16 09:05:02,539<--1:info nodes 3566956 time 6290 nps 567083 depth 13 seldepth 27 score cp 29 pv g1f3 g8f6 b1c3 d7d5 e2e3 e7e6 f1b5 c7c6 b5e2 f8e7 e1g1 e8g8 f3e5
2017-08-16 09:05:02,541<--1:info nodes 3566956 time 6291 nps 566993
2017-08-16 09:05:02,542<--1:info hashfull 19
2017-08-16 09:05:02,543<--1:info currmove Nc3 currmovenumber 2
2017-08-16 09:05:02,793<--1:info nodes 3752466 time 6544 nps 573420
2017-08-16 09:05:03,294<--1:info nodes 4110931 time 7045 nps 583524
2017-08-16 09:05:03,368<--1:info currmove d4 currmovenumber 3
2017-08-16 09:05:03,795<--1:info nodes 4488052 time 7546 nps 594759
2017-08-16 09:05:04,065<--1:info currmove e3 currmovenumber 4
2017-08-16 09:05:04,247<--1:info currmove a3 currmovenumber 5
2017-08-16 09:05:04,279<--1:info currmove b4 currmovenumber 6
2017-08-16 09:05:04,290<--1:info currmove c3 currmovenumber 7
2017-08-16 09:05:04,296<--1:info nodes 4835150 time 8047 nps 600863
2017-08-16 09:05:04,304<--1:info currmove e4 currmovenumber 8
2017-08-16 09:05:04,797<--1:info nodes 5197454 time 8548 nps 608031
2017-08-16 09:05:05,196<--1:info currmove h3 currmovenumber 9
2017-08-16 09:05:05,240<--1:info currmove d3 currmovenumber 10
2017-08-16 09:05:05,259<--1:info currmove f3 currmovenumber 11
2017-08-16 09:05:05,263<--1:info currmove g3 currmovenumber 12
2017-08-16 09:05:05,277<--1:info currmove a4 currmovenumber 13
2017-08-16 09:05:05,292<--1:info currmove f4 currmovenumber 14
2017-08-16 09:05:05,293<--1:info currmove g4 currmovenumber 15
2017-08-16 09:05:05,296<--1:info currmove b3 currmovenumber 16
2017-08-16 09:05:05,298<--1:info nodes 5583784 time 9049 nps 617060
2017-08-16 09:05:05,299<--1:info currmove Na3 currmovenumber 17
2017-08-16 09:05:05,303<--1:info currmove c4 currmovenumber 18
2017-08-16 09:05:05,305<--1:info currmove h4 currmovenumber 19
2017-08-16 09:05:05,307<--1:info currmove Nh3 currmovenumber 20
2017-08-16 09:05:05,310<--1:info currmove Nf3 currmovenumber 1
2017-08-16 09:05:05,799<--1:info nodes 5948515 time 9550 nps 622881
2017-08-16 09:05:06,300<--1:info nodes 6320098 time 10051 nps 628802
2017-08-16 09:05:06,801<--1:info nodes 6670268 time 10552 nps 632133
2017-08-16 09:05:07,229<--1:info nodes 6945066 time 10980 nps 632519 depth 14 seldepth 27 score cp 30 pv g1f3 g8f6 b1c3 d7d5 e2e3 e7e6 f1b5 c8d7 e1g1 f8b4 f3e5 e8g8 e5d7 b8d7
2017-08-16 09:05:07,231<--1:info nodes 6945066 time 10980 nps 632519
2017-08-16 09:05:07,232<--1:info hashfull 36
2017-08-16 09:05:07,233<--1:info currmove Nc3 currmovenumber 2
2017-08-16 09:05:07,302<--1:info nodes 7002359 time 11053 nps 633525
2017-08-16 09:05:07,803<--1:info nodes 7369597 time 11554 nps 637839
2017-08-16 09:05:07,863<--1:info currmove d4 currmovenumber 3
2017-08-16 09:05:08,304<--1:info nodes 7741832 time 12055 nps 642209
2017-08-16 09:05:08,647<--1:info currmove a3 currmovenumber 4
2017-08-16 09:05:08,769<--1:info currmove e3 currmovenumber 5
2017-08-16 09:05:08,805<--1:info nodes 8091596 time 12556 nps 644440
2017-08-16 09:05:09,113<--1:info currmove b4 currmovenumber 6
2017-08-16 09:05:09,134<--1:info currmove c3 currmovenumber 7
2017-08-16 09:05:09,139<--1:info currmove e4 currmovenumber 8
2017-08-16 09:05:09,140<--1:info currmove h3 currmovenumber 9
2017-08-16 09:05:09,151<--1:info currmove d3 currmovenumber 10
2017-08-16 09:05:09,171<--1:info currmove f3 currmovenumber 11
2017-08-16 09:05:09,176<--1:info currmove g3 currmovenumber 12
2017-08-16 09:05:09,223<--1:info currmove a4 currmovenumber 13
2017-08-16 09:05:09,246<--1:info currmove g4 currmovenumber 14
2017-08-16 09:05:09,256<--1:info currmove f4 currmovenumber 15
2017-08-16 09:05:09,259<--1:info currmove c4 currmovenumber 16
2017-08-16 09:05:09,266<--1:info currmove b3 currmovenumber 17
2017-08-16 09:05:09,278<--1:info currmove Na3 currmovenumber 18
2017-08-16 09:05:09,287<--1:info currmove h4 currmovenumber 19
2017-08-16 09:05:09,300<--1:info currmove Nh3 currmovenumber 20
2017-08-16 09:05:09,306<--1:info nodes 8427648 time 13057 nps 645450
2017-08-16 09:05:09,319<--1:info currmove Nf3 currmovenumber 1
2017-08-16 09:05:09,807<--1:info nodes 8766774 time 13558 nps 646612
2017-08-16 09:05:10,308<--1:info nodes 9078582 time 14059 nps 645748
2017-08-16 09:05:10,809<--1:info nodes 9371703 time 14560 nps 643660
2017-08-16 09:05:11,310<--1:info nodes 9656174 time 15061 nps 641137
2017-08-16 09:05:11,811<--1:info nodes 9958261 time 15562 nps 639908
2017-08-16 09:05:12,312<--1:info nodes 10259055 time 16063 nps 638676
2017-08-16 09:05:12,813<--1:info nodes 10552281 time 16564 nps 637061
2017-08-16 09:05:13,314<--1:info nodes 10833610 time 17065 nps 634843
2017-08-16 09:05:13,815<--1:info nodes 11128050 time 17566 nps 633499
2017-08-16 09:05:14,316<--1:info nodes 11394598 time 18067 nps 630685
2017-08-16 09:05:14,463<--1:info nodes 11473324 time 18214 nps 629917 depth 15 seldepth 28 score cp 1 pv g1f3 g8f6 b1c3 d7d5 e2e3 e7e6 f1b5 c8d7 b5e2 f8e7 e1g1 e8g8 f3e5 b8c6 e5d7
2017-08-16 09:05:14,465<--1:info nodes 11473324 time 18214 nps 629917
2017-08-16 09:05:14,465<--1:info hashfull 59
2017-08-16 09:05:14,466<--1:info currmove Nc3 currmovenumber 2
2017-08-16 09:05:14,817<--1:info nodes 11698525 time 18568 nps 630036
2017-08-16 09:05:15,318<--1:info nodes 12018683 time 19069 nps 630273
2017-08-16 09:05:15,819<--1:info nodes 12323755 time 19570 nps 629726
2017-08-16 09:05:16,320<--1:info nodes 12622915 time 20071 nps 628913
2017-08-16 09:05:16,821<--1:info nodes 12926760 time 20572 nps 628366
2017-08-16 09:05:17,322<--1:info nodes 13242173 time 21073 nps 628395
2017-08-16 09:05:17,823<--1:info nodes 13574321 time 21574 nps 629198
2017-08-16 09:05:18,324<--1:info nodes 13879727 time 22075 nps 628753
2017-08-16 09:05:18,825<--1:info nodes 14178070 time 22576 nps 628015
2017-08-16 09:05:19,326<--1:info nodes 14504395 time 23077 nps 628521
2017-08-16 09:05:19,826<--1:info nodes 14838831 time 23578 nps 629350
2017-08-16 09:05:20,328<--1:info nodes 15137260 time 24079 nps 628649
2017-08-16 09:05:20,829<--1:info nodes 15452808 time 24580 nps 628674
2017-08-16 09:05:21,250<--1:info nodes 15722031 time 25001 nps 628856
2017-08-16 09:05:21,251<--1:bestmove g1f3
2017-08-16 09:05:21,251*1*Found move:Ng1-f3
2017-08-16 09:05:21,435<--1:info string debug rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq -
2017-08-16 09:05:21,436<--1:info string debug 1.17a 100p | 15.7Mn | 15722032n | 25s | g1f3 | Nf3
2017-08-16 09:05:21,443*2*Start calc, move no: 1
2017-08-16 09:05:21,444-->2:ucinewgame
2017-08-16 09:05:21,444-->2:isready
2017-08-16 09:05:21,548-->2:position startpos moves g1f3
2017-08-16 09:05:21,548-->2:go wtime 274998 btime 300000 winc 0 binc 0
2017-08-16 09:10:23,503-->2:stop
2017-08-16 09:10:24,749****Tour**Game end: 1-0 {1-0 Black forfeits on time}
2017-08-16 09:10:24,752****Tour**Last game won by Jsuci_1_2 with White in 1 moves
2017-08-16 09:10:24,755****Tour**Jsuci_1_2 - Jsuci_1_2 [001]:
2017-08-16 09:10:24,757****Tour** 1 W 1 1,0:0,0 1,0:0,0 09:10:24 0.00 1 15,000 :0 1-0-0
2017-08-16 09:10:24,790****Tour**Saving file C:\Users\NRL\Downloads\arena_3.5.1\Arena.pgn Round:1 2017.08.16 09:04:56
2017-08-16 09:10:24,800****Tour**stopping engine calculation after game...
2017-08-16 09:10:24,801-->2:stop
2017-08-16 09:10:25,983-->2:stop
2017-08-16 09:10:25,999****Tour**Round 2 of 4: Jsuci_1_2 [001] - Jsuci_1_2
2017-08-16 09:10:26,020**----------New game---2017-08-16 09:10:26,020 Mi -------------
2017-08-16 09:10:26,050*2*
2017-08-16 09:10:26,050*2*
2017-08-16 09:10:26,050*2*Engine already calculating!
2017-08-16 09:10:26,051*2*
2017-08-16 09:10:26,051*2*
2017-08-16 09:15:28,589****Tour**Game end: 0-1 {0-1 White forfeits on time}
2017-08-16 09:15:28,591****Tour**Last game won by Jsuci_1_2 with Black in 1 moves
2017-08-16 09:15:28,593****Tour**Jsuci_1_2 - Jsuci_1_2 [001]:
2017-08-16 09:15:28,595****Tour** 2 B 1 2,0:0,0 2,0:0,0 09:15:28 0.00 1 15,000 :0 2-0-0
2017-08-16 09:15:28,621****Tour**Saving file C:\Users\NRL\Downloads\arena_3.5.1\Arena.pgn Round:2 2017.08.16 09:10:26
2017-08-16 09:15:28,628****Tour**stopping engine calculation after game...
2017-08-16 09:15:28,637-->2:stop
2017-08-16 09:15:29,842-->2:stop
2017-08-16 09:15:29,857****Tour**Round 3 of 4: Jsuci_1_2 - Jsuci_1_2 [001]
2017-08-16 09:15:29,878**----------New game---2017-08-16 09:15:29,878 Mi -------------
2017-08-16 09:15:29,923*1*Start calc, move no: 0
2017-08-16 09:15:29,923-->1:ucinewgame
2017-08-16 09:15:29,924-->1:isready
2017-08-16 09:15:29,945<--1:readyok
2017-08-16 09:15:29,951-->1:position startpos
2017-08-16 09:15:29,951-->1:go wtime 300000 btime 300000 winc 0 binc 0
2017-08-16 09:15:29,953<--1:info nodes 0 time 0 nps 0
2017-08-16 09:15:29,954<--1:info hashfull 0
2017-08-16 09:15:29,955<--1:info nodes 2 time 1 nps 2000 depth 1 seldepth 1 score cp 29 pv b1c3
2017-08-16 09:15:29,956<--1:info nodes 2 time 1 nps 2000
2017-08-16 09:15:29,957<--1:info nodes 44 time 1 nps 44000 depth 2 seldepth 2 score cp 29 pv b1c3 g8f6
2017-08-16 09:15:29,965<--1:info nodes 44 time 1 nps 44000
2017-08-16 09:15:29,966<--1:info nodes 147 time 2 nps 73500 depth 3 seldepth 3 score cp 29 pv b1c3 g8f6 g1f3
2017-08-16 09:15:29,967<--1:info nodes 147 time 2 nps 73500
2017-08-16 09:15:29,967<--1:info nodes 252 time 2 nps 126000
2017-08-16 09:15:29,967<--1:info nodes 430 time 5 nps 86000 depth 4 seldepth 5 score cp 29 pv b1c3 g8f6 g1f3 b8c6
2017-08-16 09:15:29,968<--1:info nodes 430 time 5 nps 86000
2017-08-16 09:15:29,970<--1:info nodes 1111 time 8 nps 138875 depth 5 seldepth 7 score cp 15 pv b1c3 g8f6 g1f3 b8c6 d2d4
2017-08-16 09:15:29,971<--1:info nodes 1111 time 8 nps 138875
2017-08-16 09:15:29,971<--1:info nodes 3230 time 16 nps 201875 depth 6 seldepth 9 score cp 29 pv b1c3 g8f6 g1f3 b8c6 d2d4 d7d5
2017-08-16 09:15:29,972<--1:info nodes 3230 time 16 nps 201875
2017-08-16 09:15:29,981<--1:info nodes 7745 time 28 nps 276607 depth 7 seldepth 14 score cp 10 pv b1c3 g8f6 g1f3 b8c6 d2d4 d7d5 c1f4
2017-08-16 09:15:29,983<--1:info nodes 7745 time 28 nps 276607
2017-08-16 09:15:30,017<--1:info nodes 21004 time 64 nps 328187 depth 7 seldepth 14 score cp 49 pv e2e3 g8f6 f1e2 e7e5 e1f1 b8c6 b1c3
2017-08-16 09:15:30,019<--1:info nodes 21004 time 64 nps 328187
2017-08-16 09:15:30,061<--1:info nodes 41432 time 108 nps 383629 depth 8 seldepth 15 score cp 29 pv e2e3 e7e6 f1e2 f8e7 g1f3 g8f6 e1g1 e8g8
2017-08-16 09:15:30,063<--1:info nodes 41432 time 108 nps 383629
2017-08-16 09:15:30,141<--1:info nodes 78263 time 188 nps 416292 depth 9 seldepth 19 score cp 33 pv e2e3 e7e6 f1e2 f8e7 g1f3 g8f6 e1g1 e8g8 b1c3
2017-08-16 09:15:30,143<--1:info nodes 78263 time 188 nps 416292
2017-08-16 09:15:30,275<--1:info nodes 148332 time 322 nps 460658 depth 10 seldepth 19 score cp 29 pv e2e3 e7e6 f1e2 f8e7 g1f3 g8f6 e1g1 e8g8 b1c3 b8c6
2017-08-16 09:15:30,277<--1:info nodes 148332 time 322 nps 460658
2017-08-16 09:15:30,456<--1:info nodes 247082 time 503 nps 491216
2017-08-16 09:15:30,895<--1:info nodes 480887 time 942 nps 510495 depth 11 seldepth 24 score cp 9 pv e2e3 e7e6 d2d4 f8e7 f1d3 b8c6 g1f3 g8f6 e1g1 e8g8 b1c3
2017-08-16 09:15:30,897<--1:info nodes 480887 time 942 nps 510495
2017-08-16 09:15:30,957<--1:info nodes 514680 time 1004 nps 512629
2017-08-16 09:15:31,342<--1:info nodes 725809 time 1388 nps 522917 depth 11 seldepth 24 score cp 15 pv g1f3 g8f6 b1c3 e7e6 e2e4 b8c6 f1e2 f8b4 e4e5 f6g4 e1g1
2017-08-16 09:15:31,344<--1:info nodes 725809 time 1389 nps 522540
2017-08-16 09:15:31,457<--1:info nodes 786300 time 1505 nps 522458
2017-08-16 09:15:31,550<--1:info currmove a3 currmovenumber 5
2017-08-16 09:15:31,572<--1:info currmove h3 currmovenumber 6
2017-08-16 09:15:31,581<--1:info currmove b4 currmovenumber 7
2017-08-16 09:15:31,585<--1:info currmove d3 currmovenumber 8
2017-08-16 09:15:31,606<--1:info currmove c3 currmovenumber 9
2017-08-16 09:15:31,611<--1:info currmove g3 currmovenumber 10
2017-08-16 09:15:31,620<--1:info currmove f4 currmovenumber 11
2017-08-16 09:15:31,624<--1:info currmove e4 currmovenumber 12
2017-08-16 09:15:31,633<--1:info currmove f3 currmovenumber 13
2017-08-16 09:15:31,635<--1:info currmove b3 currmovenumber 14
2017-08-16 09:15:31,639<--1:info currmove Na3 currmovenumber 15
2017-08-16 09:15:31,640<--1:info currmove Nh3 currmovenumber 16
2017-08-16 09:15:31,641<--1:info currmove a4 currmovenumber 17
2017-08-16 09:15:31,642<--1:info currmove h4 currmovenumber 18
2017-08-16 09:15:31,648<--1:info currmove c4 currmovenumber 19
2017-08-16 09:15:31,651<--1:info currmove g4 currmovenumber 20
2017-08-16 09:15:31,656<--1:info currmove Nf3 currmovenumber 1
2017-08-16 09:15:31,959<--1:info nodes 1059904 time 2006 nps 528366
2017-08-16 09:15:32,460<--1:info nodes 1340216 time 2507 nps 534589
2017-08-16 09:15:32,961<--1:info nodes 1625880 time 3008 nps 540518
2017-08-16 09:15:33,176<--1:info nodes 1738631 time 3222 nps 539612 depth 12 seldepth 24 score cp 33 pv g1f3 g8f6 e2e3 e7e6 d2d4 b8c6 f1d3 f8b4 c1d2 e8g8 e1g1 d7d5 d2b4
2017-08-16 09:15:33,178<--1:info nodes 1738631 time 3223 nps 539444
2017-08-16 09:15:33,179<--1:info hashfull 10
2017-08-16 09:15:33,180<--1:info currmove Nc3 currmovenumber 2
2017-08-16 09:15:33,258<--1:info currmove d4 currmovenumber 3
2017-08-16 09:15:33,462<--1:info nodes 1904005 time 3509 nps 542606
2017-08-16 09:15:33,959<--1:info currmove a3 currmovenumber 4
2017-08-16 09:15:33,963<--1:info nodes 2181607 time 4010 nps 544041
2017-08-16 09:15:33,981<--1:info currmove e3 currmovenumber 5
2017-08-16 09:15:34,057<--1:info currmove e4 currmovenumber 6
2017-08-16 09:15:34,077<--1:info currmove c3 currmovenumber 7
2017-08-16 09:15:34,082<--1:info currmove b4 currmovenumber 8
2017-08-16 09:15:34,089<--1:info currmove d3 currmovenumber 9
2017-08-16 09:15:34,113<--1:info currmove h3 currmovenumber 10
2017-08-16 09:15:34,114<--1:info currmove g3 currmovenumber 11
2017-08-16 09:15:34,115<--1:info currmove f3 currmovenumber 12
2017-08-16 09:15:34,117<--1:info currmove f4 currmovenumber 13
2017-08-16 09:15:34,118<--1:info currmove g4 currmovenumber 14
2017-08-16 09:15:34,122<--1:info currmove b3 currmovenumber 15
2017-08-16 09:15:34,123<--1:info currmove h4 currmovenumber 16
2017-08-16 09:15:34,124<--1:info currmove Na3 currmovenumber 17
2017-08-16 09:15:34,126<--1:info currmove Nh3 currmovenumber 18
2017-08-16 09:15:34,127<--1:info currmove c4 currmovenumber 19
2017-08-16 09:15:34,128<--1:info currmove a4 currmovenumber 20
2017-08-16 09:15:34,129<--1:info currmove Nf3 currmovenumber 1
2017-08-16 09:15:34,465<--1:info nodes 2466179 time 4511 nps 546703
2017-08-16 09:15:34,966<--1:info nodes 2772854 time 5013 nps 553132
2017-08-16 09:15:35,467<--1:info nodes 3077250 time 5514 nps 558079
2017-08-16 09:15:35,968<--1:info nodes 3381834 time 6015 nps 562233
2017-08-16 09:15:36,302<--1:info nodes 3566956 time 6349 nps 561813 depth 13 seldepth 27 score cp 29 pv g1f3 g8f6 b1c3 d7d5 e2e3 e7e6 f1b5 c7c6 b5e2 f8e7 e1g1 e8g8 f3e5
2017-08-16 09:15:36,304<--1:info nodes 3566956 time 6349 nps 561813
2017-08-16 09:15:36,305<--1:info hashfull 19
2017-08-16 09:15:36,306<--1:info currmove Nc3 currmovenumber 2
2017-08-16 09:15:36,469<--1:info nodes 3667674 time 6516 nps 562872
2017-08-16 09:15:36,970<--1:info nodes 3969177 time 7017 nps 565651
2017-08-16 09:15:37,290<--1:info currmove d4 currmovenumber 3
2017-08-16 09:15:37,471<--1:info nodes 4272709 time 7518 nps 568330
2017-08-16 09:15:37,971<--1:info nodes 4574444 time 8019 nps 570450
2017-08-16 09:15:38,147<--1:info currmove e3 currmovenumber 4
2017-08-16 09:15:38,371<--1:info currmove a3 currmovenumber 5
2017-08-16 09:15:38,412<--1:info currmove b4 currmovenumber 6
2017-08-16 09:15:38,426<--1:info currmove c3 currmovenumber 7
2017-08-16 09:15:38,442<--1:info currmove e4 currmovenumber 8
2017-08-16 09:15:38,473<--1:info nodes 4858282 time 8520 nps 570220
2017-08-16 09:15:38,974<--1:info nodes 5155419 time 9021 nps 571490
2017-08-16 09:15:39,475<--1:info nodes 5492885 time 9522 nps 576862
2017-08-16 09:15:39,522<--1:info currmove h3 currmovenumber 9
2017-08-16 09:15:39,578<--1:info currmove d3 currmovenumber 10
2017-08-16 09:15:39,601<--1:info currmove f3 currmovenumber 11
2017-08-16 09:15:39,606<--1:info currmove g3 currmovenumber 12
2017-08-16 09:15:39,623<--1:info currmove a4 currmovenumber 13
2017-08-16 09:15:39,643<--1:info currmove f4 currmovenumber 14
2017-08-16 09:15:39,644<--1:info currmove g4 currmovenumber 15
2017-08-16 09:15:39,647<--1:info currmove b3 currmovenumber 16
2017-08-16 09:15:39,651<--1:info currmove Na3 currmovenumber 17
2017-08-16 09:15:39,657<--1:info currmove c4 currmovenumber 18
2017-08-16 09:15:39,659<--1:info currmove h4 currmovenumber 19
2017-08-16 09:15:39,661<--1:info currmove Nh3 currmovenumber 20
2017-08-16 09:15:39,665<--1:info currmove Nf3 currmovenumber 1
2017-08-16 09:15:39,976<--1:info nodes 5786818 time 10023 nps 577353
2017-08-16 09:15:40,477<--1:info nodes 6095442 time 10524 nps 579194
2017-08-16 09:15:40,978<--1:info nodes 6401117 time 11025 nps 580600
2017-08-16 09:15:41,479<--1:info nodes 6699175 time 11526 nps 581222
2017-08-16 09:15:41,935<--1:info nodes 6945066 time 11982 nps 579624 depth 14 seldepth 27 score cp 30 pv g1f3 g8f6 b1c3 d7d5 e2e3 e7e6 f1b5 c8d7 e1g1 f8b4 f3e5 e8g8 e5d7 b8d7
2017-08-16 09:15:41,937<--1:info nodes 6945066 time 11982 nps 579624
2017-08-16 09:15:41,938<--1:info hashfull 36
2017-08-16 09:15:41,939<--1:info currmove Nc3 currmovenumber 2
2017-08-16 09:15:41,980<--1:info nodes 6973143 time 12027 nps 579790
2017-08-16 09:15:42,481<--1:info nodes 7283092 time 12528 nps 581345
2017-08-16 09:15:42,700<--1:info currmove d4 currmovenumber 3
2017-08-16 09:15:42,982<--1:info nodes 7593000 time 13029 nps 582776
2017-08-16 09:15:43,483<--1:info nodes 7896327 time 13530 nps 583616
2017-08-16 09:15:43,642<--1:info currmove a3 currmovenumber 4
2017-08-16 09:15:43,790<--1:info currmove e3 currmovenumber 5
2017-08-16 09:15:43,984<--1:info nodes 8181045 time 14031 nps 583069
2017-08-16 09:15:44,219<--1:info currmove b4 currmovenumber 6
2017-08-16 09:15:44,244<--1:info currmove c3 currmovenumber 7
2017-08-16 09:15:44,250<--1:info currmove e4 currmovenumber 8
2017-08-16 09:15:44,251<--1:info currmove h3 currmovenumber 9
2017-08-16 09:15:44,266<--1:info currmove d3 currmovenumber 10
2017-08-16 09:15:44,292<--1:info currmove f3 currmovenumber 11
2017-08-16 09:15:44,297<--1:info currmove g3 currmovenumber 12
2017-08-16 09:15:44,356<--1:info currmove a4 currmovenumber 13
2017-08-16 09:15:44,386<--1:info currmove g4 currmovenumber 14
2017-08-16 09:15:44,397<--1:info currmove f4 currmovenumber 15
2017-08-16 09:15:44,401<--1:info currmove c4 currmovenumber 16
2017-08-16 09:15:44,410<--1:info currmove b3 currmovenumber 17
2017-08-16 09:15:44,424<--1:info currmove Na3 currmovenumber 18
2017-08-16 09:15:44,436<--1:info currmove h4 currmovenumber 19
2017-08-16 09:15:44,452<--1:info currmove Nh3 currmovenumber 20
2017-08-16 09:15:44,474<--1:info currmove Nf3 currmovenumber 1
2017-08-16 09:15:44,485<--1:info nodes 8441695 time 14532 nps 580903
2017-08-16 09:15:44,986<--1:info nodes 8749170 time 15033 nps 581997
2017-08-16 09:15:45,487<--1:info nodes 9064636 time 15534 nps 583535
2017-08-16 09:15:45,988<--1:info nodes 9364354 time 16035 nps 583994
2017-08-16 09:15:46,489<--1:info nodes 9650541 time 16536 nps 583607
2017-08-16 09:15:46,990<--1:info nodes 9960029 time 17037 nps 584611
2017-08-16 09:15:47,491<--1:info nodes 10267806 time 17538 nps 585460
2017-08-16 09:15:47,992<--1:info nodes 10567795 time 18039 nps 585830
2017-08-16 09:15:48,49

Best wishes,
Norbert
Norbert Raimund Leisner
Posts: 1643
Joined: Tue May 20, 2008 4:57 pm
Location: Augsburg - Germany

Re: JavaScript UCI and Cinnamon UCI JS Engine on Arena 3.5.1

Post by Norbert Raimund Leisner »

another example CinnamonJS vs. Hermann (built in engine)


2017-08-16 09:41:52,019 Arena 3.5.1
2017-08-16 09:41:52,023Font Arena Chess Figurine MISSING

2017-08-16 09:41:52,127**----------New game---2017-08-16 09:41:52,127 Mi -------------
2017-08-16 09:41:52,300**----------New game---2017-08-16 09:41:52,300 Mi -------------
2017-08-16 09:41:52,365**screen: 1280x1024
2017-08-16 09:41:52,365**Monitors: 1
2017-08-16 09:41:52,365**Monitor0: 1280x1024
2017-08-16 09:41:52,365**FormMonitor: 0
2017-08-16 09:41:52,365**DesktopRect: 0/0 .. 1280/1024
2017-08-16 09:42:10,910*1*------------------------Starting engine 1 Jsuci_1_2-------------------------
2017-08-16 09:42:10,914*1*Configured Engine 1 Type: Auto
2017-08-16 09:42:10,914*1*Engine 1 dir: C:\Users\NRL\Downloads\jsuci 1.2\jsuci 1.2
2017-08-16 09:42:10,914*1*Engine 1 commandline: "C:\Users\NRL\Downloads\jsuci 1.2\jsuci 1.2\jsuci_1_2.exe"
2017-08-16 09:42:11,017*1*Engine 1 ProcessID: 3796
2017-08-16 09:42:11,017*1*Engine 1 Prio:32 ThreadPrio:0
2017-08-16 09:42:11,017-->1:xboard
2017-08-16 09:42:11,037-->1:uci
2017-08-16 09:42:19,039-->1:isready
2017-08-16 09:42:22,022-->1:new
2017-08-16 09:42:22,022-->1:random
2017-08-16 09:42:22,022-->1:level 0 5 0
2017-08-16 09:42:22,022-->1:post
2017-08-16 09:42:22,022-->1:hard
2017-08-16 09:42:22,022-->1:easy
2017-08-16 09:42:45,702-->1:?
2017-08-16 09:42:45,702-->1:force
2017-08-16 09:42:45,702-->1:quit
2017-08-16 09:42:46,143*1*------------------------Starting engine 1 Jsuci_1_2-------------------------
2017-08-16 09:42:46,143*1*Configured Engine 1 Type: UCI
2017-08-16 09:42:46,144*1*Engine 1 dir: C:\Users\NRL\Downloads\jsuci 1.2\jsuci 1.2
2017-08-16 09:42:46,144*1*Engine 1 commandline: "C:\Users\NRL\Downloads\jsuci 1.2\jsuci 1.2\jsuci_1_2.exe" cinnamon_engine.js
2017-08-16 09:42:46,245*1*Engine 1 ProcessID: 3584
2017-08-16 09:42:46,245*1*Engine 1 Prio:32 ThreadPrio:0
2017-08-16 09:42:46,265-->1:uci
2017-08-16 09:42:46,298<--1:Cinnamon 2.0 UCI by Giuseppe Cannella
2017-08-16 09:42:46,298<--1:version compiled Apr 5 2016 with emscripten - 4.2.1 Compatible Clang 3.9.0
2017-08-16 09:42:46,298<--1:License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
2017-08-16 09:42:53,682-->1:quit
2017-08-16 09:42:54,123*1*------------------------Starting engine 1 Jsuci_1_2-------------------------
2017-08-16 09:42:54,123*1*Configured Engine 1 Type: UCI
2017-08-16 09:42:54,123*1*Engine 1 dir: C:\Users\NRL\Downloads\jsuci 1.2\jsuci 1.2
2017-08-16 09:42:54,123*1*Engine 1 commandline: "C:\Users\NRL\Downloads\jsuci 1.2\jsuci 1.2\jsuci_1_2.exe" cinnamon_engine.js
2017-08-16 09:42:54,226*1*Engine 1 ProcessID: 3096
2017-08-16 09:42:54,226*1*Engine 1 Prio:32 ThreadPrio:0
2017-08-16 09:42:54,246-->1:uci
2017-08-16 09:42:54,299<--1:Cinnamon 2.0 UCI by Giuseppe Cannella
2017-08-16 09:42:54,300<--1:version compiled Apr 5 2016 with emscripten - 4.2.1 Compatible Clang 3.9.0
2017-08-16 09:42:54,300<--1:License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
2017-08-16 09:43:02,236-->1:isready
2017-08-16 09:43:42,686****Tour**======== Tournament 1 ========
2017-08-16 09:43:42,866****Tour**
2017-08-16 09:43:42,867****Tour**Pairing 1/1: Hermann 2.8 64 bit - Jsuci_1_2
2017-08-16 09:43:42,886-->1:quit
2017-08-16 09:43:43,227*1*--------------------Starting engine 1 Hermann 2.8 64 bit--------------------
2017-08-16 09:43:43,229*1*Configured Engine 1 Type: UCI
2017-08-16 09:43:43,230*1*Engine 1 dir: C:\Users\NRL\Downloads\arena_3.5.1\Engines\Hermann
2017-08-16 09:43:43,230*1*Engine 1 commandline: C:\Users\NRL\Downloads\arena_3.5.1\Engines\Hermann\Hermann28_64.exe
2017-08-16 09:43:43,331*1*Engine 1 ProcessID: 936
2017-08-16 09:43:43,331*1*Engine 1 Prio:32 ThreadPrio:0
2017-08-16 09:43:43,351-->1:uci
2017-08-16 09:43:43,351<--1:id name Hermann 2.8
2017-08-16 09:43:43,351<--1:id author Volker Annuss
2017-08-16 09:43:43,351<--1:option name Hash type spin default 3 min 1 max 32767
2017-08-16 09:43:43,351<--1:option name Ponder type check default true
2017-08-16 09:43:43,351<--1:option name OwnBook type check default true
2017-08-16 09:43:43,351<--1:option name Clear Hash type button
2017-08-16 09:43:43,351<--1:option name MultiPV type spin default 1 min 1 max 255
2017-08-16 09:43:43,351<--1:option name UCI_Chess960 type check default false
2017-08-16 09:43:43,351<--1:option name BookFile type string default Hermann.opn
2017-08-16 09:43:43,351<--1:option name Opponent type string default unknown
2017-08-16 09:43:43,351<--1:option name NumberOfProcessors type spin default 1 min 1 max 8
2017-08-16 09:43:43,351<--1:option name NeuroMaterial type spin default 40 min 0 max 100
2017-08-16 09:43:43,351<--1:option name NeuroWidth type spin default 800 min 1 max 10000
2017-08-16 09:43:43,351<--1:option name MaterialFile type string default (internal)
2017-08-16 09:43:43,351<--1:option name TimeLogfile type string default nul:
2017-08-16 09:43:43,351<--1:uciok
2017-08-16 09:43:43,352-->1:setoption name Hash value 128
2017-08-16 09:43:43,352-->1:setoption name Ponder value true
2017-08-16 09:43:43,352-->1:setoption name OwnBook value true
2017-08-16 09:43:43,352-->1:setoption name MultiPV value 1
2017-08-16 09:43:43,352-->1:setoption name UCI_Chess960 value false
2017-08-16 09:43:43,352-->1:setoption name BookFile value Hermann.opn
2017-08-16 09:43:43,352-->1:setoption name Opponent value unknown
2017-08-16 09:43:43,352-->1:setoption name NumberOfProcessors value 1
2017-08-16 09:43:43,352-->1:setoption name NeuroMaterial value 40
2017-08-16 09:43:43,352-->1:setoption name NeuroWidth value 800
2017-08-16 09:43:43,352-->1:setoption name MaterialFile value (internal)
2017-08-16 09:43:43,352-->1:setoption name TimeLogfile value nul:
2017-08-16 09:43:43,354-->1:isready
2017-08-16 09:43:43,496<--1:readyok
2017-08-16 09:43:43,737*2*------------------------Starting engine 2 Jsuci_1_2-------------------------
2017-08-16 09:43:43,737*2*Configured Engine 2 Type: UCI
2017-08-16 09:43:43,738*2*Engine 2 dir: C:\Users\NRL\Downloads\jsuci 1.2\jsuci 1.2
2017-08-16 09:43:43,738*2*Engine 2 commandline: "C:\Users\NRL\Downloads\jsuci 1.2\jsuci 1.2\jsuci_1_2.exe" cinnamon_engine.js
2017-08-16 09:43:43,840*2*Engine 2 ProcessID: 1168
2017-08-16 09:43:43,840*2*Engine 2 Prio:32 ThreadPrio:0
2017-08-16 09:43:43,860-->2:uci
2017-08-16 09:43:43,892<--2:Cinnamon 2.0 UCI by Giuseppe Cannella
2017-08-16 09:43:43,892<--2:version compiled Apr 5 2016 with emscripten - 4.2.1 Compatible Clang 3.9.0
2017-08-16 09:43:43,892<--2:License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
2017-08-16 09:43:51,860-->2:isready
2017-08-16 09:44:12,374-->1:setoption name Ponder value false
2017-08-16 09:44:12,390****Tour**Round 1 of 4: Hermann 2.8 64 bit - Jsuci_1_2
2017-08-16 09:44:12,416**----------New game---2017-08-16 09:44:12,416 Mi -------------
2017-08-16 09:44:12,459*1*Start calc, move no: 0
2017-08-16 09:44:12,460-->1:ucinewgame
2017-08-16 09:44:12,460-->1:isready
2017-08-16 09:44:12,561-->1:position startpos
2017-08-16 09:44:12,561-->1:go wtime 300000 btime 300000 winc 0 binc 0
2017-08-16 09:44:12,987<--1:readyok
2017-08-16 09:44:13,506<--1:bestmove d2d4 ponder d7d5
2017-08-16 09:44:13,506*1*Found move:d2-d4
2017-08-16 09:44:13,686*2*Start calc, move no: 1
2017-08-16 09:44:13,686-->2:ucinewgame
2017-08-16 09:44:13,686-->2:isready
2017-08-16 09:44:13,793-->2:position startpos moves d2d4
2017-08-16 09:44:13,793-->2:go wtime 299069 btime 300000 winc 0 binc 0
2017-08-16 09:49:14,993-->2:stop
2017-08-16 09:49:16,218****Tour**Game end: 1-0 {1-0 Black forfeits on time}
2017-08-16 09:49:16,218****Tour**Last game won by Hermann 2.8 64 bit with White in 1 moves
2017-08-16 09:49:16,219****Tour**Hermann 2.8 64 bit - Jsuci_1_2:
2017-08-16 09:49:16,220****Tour** 1 W 1 1,0:0,0 1,0:0,0 09:49:16 0.00 1 0:0 1-0-0
2017-08-16 09:49:16,237****Tour**Saving file C:\Users\NRL\Downloads\arena_3.5.1\Arena.pgn Round:1 2017.08.16 09:44:12
2017-08-16 09:49:16,242****Tour**stopping engine calculation after game...
2017-08-16 09:49:16,242-->2:stop
2017-08-16 09:49:17,418-->1:setoption name Ponder value false
2017-08-16 09:49:17,418-->2:stop
2017-08-16 09:49:17,433****Tour**Round 2 of 4: Jsuci_1_2 - Hermann 2.8 64 bit
2017-08-16 09:49:17,459**----------New game---2017-08-16 09:49:17,459 Mi -------------
2017-08-16 09:49:17,483*2*
2017-08-16 09:49:17,483*2*
2017-08-16 09:49:17,483*2*Engine already calculating!
2017-08-16 09:49:17,483*2*
2017-08-16 09:49:17,483*2*
2017-08-16 09:54:20,007****Tour**Game end: 0-1 {0-1 White forfeits on time}
2017-08-16 09:54:20,009****Tour**Last game won by Hermann 2.8 64 bit with Black in 1 moves
2017-08-16 09:54:20,011****Tour**Hermann 2.8 64 bit - Jsuci_1_2:
2017-08-16 09:54:20,013****Tour** 2 B 1 2,0:0,0 2,0:0,0 09:54:20 0.00 1 0:0 2-0-0
2017-08-16 09:54:20,041****Tour**Saving file C:\Users\NRL\Downloads\arena_3.5.1\Arena.pgn Round:2 2017.08.16 09:49:17
2017-08-16 09:54:20,047****Tour**stopping engine calculation after game...
2017-08-16 09:54:20,047-->2:stop
2017-08-16 09:54:21,230-->1:setoption name Ponder value false
2017-08-16 09:54:21,230-->2:stop
2017-08-16 09:54:21,246****Tour**Round 3 of 4: Hermann 2.8 64 bit - Jsuci_1_2
2017-08-16 09:54:21,272**----------New game---2017-08-16 09:54:21,272 Mi -------------
2017-08-16 09:54:21,296*1*Start calc, move no: 0
2017-08-16 09:54:21,296-->1:ucinewgame
2017-08-16 09:54:21,297-->1:isready
2017-08-16 09:54:21,402-->1:position startpos
2017-08-16 09:54:21,402-->1:go wtime 300000 btime 300000 winc 0 binc 0
2017-08-16 09:54:21,819<--1:readyok
2017-08-16 09:54:22,352<--1:bestmove c2c4 ponder e7e5
2017-08-16 09:54:22,352*1*Found move:c2-c4
2017-08-16 09:54:22,518*2*
2017-08-16 09:54:22,518*2*
2017-08-16 09:54:22,519*2*Engine already calculating!
2017-08-16 09:54:22,519*2*
2017-08-16 09:54:22,519*2*
2017-08-16 09:59:25,362****Tour**Game end: 1-0 {1-0 Black forfeits on time}
2017-08-16 09:59:25,364****Tour**Last game won by Hermann 2.8 64 bit with White in 1 moves
2017-08-16 09:59:25,367****Tour**Hermann 2.8 64 bit - Jsuci_1_2:
2017-08-16 09:59:25,369****Tour** 3 W 1 3,0:0,0 3,0:0,0 09:59:25 0.00 1 0:0 3-0-0
2017-08-16 09:59:25,402****Tour**Saving file C:\Users\NRL\Downloads\arena_3.5.1\Arena.pgn Round:3 2017.08.16 09:54:21
2017-08-16 09:59:25,408****Tour**stopping engine calculation after game...
2017-08-16 09:59:25,424-->2:stop
2017-08-16 09:59:26,631-->1:setoption name Ponder value false
2017-08-16 09:59:26,631-->2:stop
2017-08-16 09:59:26,646****Tour**Round 4 of 4: Jsuci_1_2 - Hermann 2.8 64 bit
2017-08-16 09:59:26,662**----------New game---2017-08-16 09:59:26,662 Mi -------------
2017-08-16 09:59:26,693*2*
2017-08-16 09:59:26,693*2*
2017-08-16 09:59:26,693*2*Engine already calculating!
2017-08-16 09:59:26,693*2*
2017-08-16 09:59:26,693*2*
2017-08-16 10:04:29,173****Tour**Game end: 0-1 {0-1 White forfeits on time}
2017-08-16 10:04:29,173****Tour**Last game won by Hermann 2.8 64 bit with Black in 1 moves
2017-08-16 10:04:29,173****Tour**Hermann 2.8 64 bit - Jsuci_1_2:
2017-08-16 10:04:29,188****Tour** 4 B 1 4,0:0,0 4,0:0,0 10:04:29 0.00 1 0:0 4-0-0
2017-08-16 10:04:29,205****Tour**Saving file C:\Users\NRL\Downloads\arena_3.5.1\Arena.pgn Round:4 2017.08.16 09:59:26
2017-08-16 10:04:29,205****Tour**stopping engine calculation after game...
2017-08-16 10:04:29,221-->2:stop
2017-08-16 10:04:30,463****Tour**Tournament is finished
2017-08-16 10:04:30,555-->1:isready
2017-08-16 10:04:30,601<--1:readyok
op12no2
Posts: 490
Joined: Tue Feb 04, 2014 12:25 pm
Full name: Colin Jenkins

Re: JavaScript UCI and Cinnamon UCI JS Engine on Arena 3.5.1

Post by op12no2 »

I suspect Cinnamon does not use UCI/Winboard for comms. I started it on a command line using both jsUCI and node and it did not respond to UCI. I don't know Winboard but that's an easier way to test (command line). Also it will only respond to jsUCI if it is specifically designed to do so, ditto for node.

Lozza for example is designed to detect the presence of jsUCI or node or it's own native browser environment and respond appropriately (always using UCI but calling different comms functions). But none of this is implicit; i.e. there is no reason to assume a Javascript engine will work in Arena for example.

It would be nice to see more hand written Javascript engines speak UCI/Winboard though. These days I would use node over jsUCI because the V8 Javascript engine is more recent.

How to detect:-

Code: Select all

var HOST_WEB       = 0;  //web browser
var HOST_NODEJS  = 1;  //node  &#40;command line or arena/winboard etc&#41;
var HOST_JSUCI     = 2;  //jsUCI &#40;command line or arena/winboard etc&#41;

var HOSTS = &#91;'Web','Node','jsUCI'&#93;;

var lozzaHost = HOST_WEB;

if (&#40;typeof process&#41; != 'undefined')

  lozzaHost = HOST_NODEJS; 

else if (&#40;typeof lastMessage&#41; != 'undefined')

  lozzaHost = HOST_JSUCI;
PS: the Cinnamon Javascript is a auto translation (of C?) using Emscripten so it's pretty much impossible to read.